Skip to content

Comments

fix: Fix non-functional vim plugin#659

Merged
LoricAndre merged 1 commit intoskim-rs:masterfrom
dotdash:fix_vim_plugin
Dec 8, 2024
Merged

fix: Fix non-functional vim plugin#659
LoricAndre merged 1 commit intoskim-rs:masterfrom
dotdash:fix_vim_plugin

Conversation

@dotdash
Copy link
Contributor

@dotdash dotdash commented Dec 7, 2024

Checklist

check the box if it is not applicable to your changes

  • I have updated the README with the necessary documentation
  • I have added unit tests
  • I have added end-to-end tests
  • I have linked all related issues or PRs

Description of the changes

The vim plugin uses --expect and expects the key used to accept the selection on the first line of output. Commit bcee1f4 "feat!: do not check for expect before printing the argument of accept… (#625)" broke that by not outputting anything if the selection was made using the default "enter" key. We can workaround that by explicitly adding "enter" to the --expect argument, so that it once again shows up in the output.

Fixes skim-rs/skim.vim#25

The vim plugin uses --expect and expects the key used to accept the
selection on the first line of output. Commit bcee1f4 "feat!: do not
check for expect before printing the argument of accept… (skim-rs#625)" broke
that by not outputting anything if the selection was made using the
default "enter" key. We can workaround that by explicitly adding
"enter" to the --expect argument, so that it once again shows up in the
output.

Fixes skim-rs/skim.vim#25
@dotdash dotdash changed the title Fix non-functional vim plugin fix: Fix non-functional vim plugin Dec 7, 2024
@LoricAndre LoricAndre merged commit 3eb5591 into skim-rs:master Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stopped working with skim >=0.14.3

3 participants