summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-05-13 23:20:10 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-05-13 23:20:10 +0900
commit7f59b42b051bc6d1d9ff9170d90a2a7983b05118 (patch)
tree19facdc24929c96f246a8a51ab5d83a0eecde30a /plugin
parentf41de932d602b60a4ea31304601af6b7705581a3 (diff)
[vim] Escape % # \
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 d2da893f..3f218b8e 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -76,7 +76,7 @@ function! s:shellesc(arg)
endfunction
function! s:escape(path)
- return substitute(a:path, ' ', '\\ ', 'g')
+ return escape(a:path, ' %#\')
endfunction
" Upgrade legacy options