mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 03:19:01 +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
|
||||
let command = a:command
|
||||
endif
|
||||
execute 'silent !'.command
|
||||
execute 'silent !'.escape(command, '%#')
|
||||
redraw!
|
||||
if v:shell_error
|
||||
" Do not print error message on exit status 1
|
||||
|
Loading…
Reference in New Issue
Block a user