summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-10-27 23:55:10 +0900
committerGitHub <noreply@github.com>2020-10-27 23:55:10 +0900
commitc691d52fa7f326e0f0ad162aa3e0e0107b0bef48 (patch)
treec35e7ce0f6cc86a392da9296d5284ea7232b6fc7
parent874f7dd416a4098d657dce7f307b60485993eea1 (diff)
parentde3d09fe795e9185c1bcdedb13e612bbf4b3dfc3 (diff)
Fix: barbled multibyte text(exe. Japanese). (#2224)
* Fix: barbled multibyte text(exe. Japanese). * fixup Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
-rw-r--r--plugin/fzf.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 83e1cef5..7dc677f4 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -404,7 +404,7 @@ try
let prefix = '( '.source.' )|'
elseif type == 3
let temps.input = s:fzf_tempname()
- call writefile(map(source, '<SID>enc_to_cp(v:val)'), temps.input)
+ call writefile(source, temps.input)
let prefix = (s:is_win ? 'type ' : 'cat ').fzf#shellescape(temps.input).'|'
else
throw 'Invalid source type'