From fc274c2ba4682198aca68d0334a5445f269aba92 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 17 Feb 2017 10:20:39 +0900 Subject: [PATCH] [vim] Do not escape % when using system() instead of ! Close https://github.com/junegunn/fzf.vim/issues/309 --- plugin/fzf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 1225cec..9c14f7f 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'