mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-22 19:09:00 +00: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