diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2015-08-24 01:52:16 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-08-24 01:52:16 +0900 |
| commit | 8fb31e1b4d25ef20d039e919e8d7712d2ad6a96c (patch) | |
| tree | 9df3c82ef26f8f78f84e4896c361ca9742ca5ac4 /plugin | |
| parent | 148f21415a9d2019617d3620e661caf57a677ade (diff) | |
| download | fzf-8fb31e1b4d25ef20d039e919e8d7712d2ad6a96c.tar.gz | |
[vim] Escape % and # when running source command with :!
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/fzf.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index a350c291..58e481f1 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -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 |
