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.
Fixesskim-rs/skim.vim#25
There are references to SKIM_DEFAULT_OPTS within the vim plugin, but this is different from the SKIM_DEFAULT_OPTIONS that is suggested for use within the documentation, and used elsewhere throughout the program. This changes the two uses of SKIM_DEFAULT_OPTS to SKIM_DEFAULT_OPTIONS within the vim plugin.
As @justinmk pointed out, `on_exit` is a `system_handler`, that's
taking 3 parameters:
25427ae892/runtime/autoload/man.vim (L71-L90)
This fixes file selection crash (in my setup neovim + rg).
It should also keep backwards compatibility with older Neovim builds.