diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2017-02-17 10:20:39 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-02-17 10:20:39 +0900 |
commit | fc274c2ba4682198aca68d0334a5445f269aba92 (patch) | |
tree | 2f8f602d47d3edbd53676aec01aea28e38c38b29 /plugin | |
parent | ce43ea9f4273ef2b4c67cb02dc55ed883f6c0fd9 (diff) |
[vim] Do not escape % when using system() instead of !
Close https://github.com/junegunn/fzf.vim/issues/309
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 1225cec3..9c14f7ff 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -445,7 +445,7 @@ function! s:execute(dict, command, use_height, temps) abort endif let command = printf(fmt, escaped) else - let command = escaped + let command = a:use_height ? a:command : escaped endif if a:use_height let stdin = has_key(a:dict, 'source') ? '' : '< /dev/tty' |