summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-05-14 01:30:36 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-05-14 01:54:30 +0900
commit6432f00f0d026c61f683c83ded4d2e15317e927e (patch)
tree7dd666c371e04e5c91f704b8a6d48a9d452e5c82 /plugin
parent4e9e842aa4df67051ce88963b0745679dbaeadb5 (diff)
downloadfzf-6432f00f0d026c61f683c83ded4d2e15317e927e.tar.gz
0.52.1
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 ee0e41bb..735571cf 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -95,7 +95,7 @@ function! s:shellesc_cmd(arg)
let e .= c
endfor
let e .= repeat('\', slashes) .'"'
- return e
+ return substitute(substitute(e, '[&|<>()^!"]', '^&', 'g'), '%', '%%', 'g')
endfunction
function! fzf#shellescape(arg, ...)