mirror of
https://github.com/junegunn/fzf.git
synced 2024-09-11 14:35:26 +03:00
[vim] Fix escaping of fzf binary path containing spaces on Windows
Fix #2992
This commit is contained in:
parent
07da058eae
commit
d04faa6505
@ -464,7 +464,7 @@ try
|
||||
let temps = { 'result': s:fzf_tempname() }
|
||||
let optstr = s:evaluate_opts(get(dict, 'options', ''))
|
||||
try
|
||||
let fzf_exec = fzf#shellescape(fzf#exec())
|
||||
let fzf_exec = (&shell =~ 'powershell' ? '&' : '') . shellescape(fzf#exec())
|
||||
catch
|
||||
throw v:exception
|
||||
endtry
|
||||
|
Loading…
Reference in New Issue
Block a user