Skip to content

Commit

Permalink
Fixed escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
wywong committed Aug 14, 2013
1 parent da7900a commit fa6c08b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/gitgutter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa6c08b

Please sign in to comment.