diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index 1ad3519..8260111 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -89,7 +89,7 @@ function! s:escape(str) else let esc = exists('+shellxescape') ? &shellxescape : '"&|<>()@^' return &shellquote . - \ substitute(a:str, '['.esc.']', '^&', 'g') . + \ substitute(a:str, '['.esc.']', '&', 'g') . \ get({'(': ')', '"(': ')"'}, &shellquote, &shellquote) endif endfunction