Skip to content
Myr

[vim] Fix escaping of fzf binary path containing spaces on Windows

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #2992

authored by Junegunn Choi · committed by Junegunn Choi · parent 07da058 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:plugin/fzf.vim+1 added-1 removed
462 unmodified lines
463 let dict = exists('a:1') ? copy(a:1) : {}464 let temps = { 'result': s:fzf_tempname() }465 let optstr = s:evaluate_opts(get(dict, 'options', ''))466 try467 let fzf_exec = fzf#shellescape(fzf#exec())467 let fzf_exec = (&shell =~ 'powershell' ? '&' : '') . shellescape(fzf#exec())468 catch469 throw v:exception470 endtry471
589 unmodified lines