summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2017-02-17 10:20:39 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2017-02-17 10:20:39 +0900
commitfc274c2ba4682198aca68d0334a5445f269aba92 (patch)
tree2f8f602d47d3edbd53676aec01aea28e38c38b29 /plugin
parentce43ea9f4273ef2b4c67cb02dc55ed883f6c0fd9 (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.vim2
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'