[vim] Do not escape % when using system() instead of !

Close https://github.com/junegunn/fzf.vim/issues/309
pull/848/head
Junegunn Choi 7 years ago
parent ce43ea9f42
commit fc274c2ba4
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -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'

Loading…
Cancel
Save