mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 22:27:41 +00:00
[vim] Escape % and # when running source command with :!
This commit is contained in:
parent
148f21415a
commit
8fb31e1b4d
@ -218,7 +218,7 @@ function! s:execute(dict, command, temps)
|
|||||||
else
|
else
|
||||||
let command = a:command
|
let command = a:command
|
||||||
endif
|
endif
|
||||||
execute 'silent !'.command
|
execute 'silent !'.escape(command, '%#')
|
||||||
redraw!
|
redraw!
|
||||||
if v:shell_error
|
if v:shell_error
|
||||||
" Do not print error message on exit status 1
|
" Do not print error message on exit status 1
|
||||||
|
Loading…
Reference in New Issue
Block a user