Don't escape "!" when calling :terminal
This commit is contained in:
parent
06b3da7204
commit
969a3d857f
@ -1381,7 +1381,7 @@ function! s:Git(bang, mods, args) abort
|
||||
-tabnew
|
||||
endif
|
||||
execute 'lcd' fnameescape(tree)
|
||||
let exec = escape(git . ' ' . s:ShellExpand(args), '!#%')
|
||||
let exec = escape(git . ' ' . s:ShellExpand(args), '#%')
|
||||
return 'exe ' . string('terminal ' . exec) . after
|
||||
else
|
||||
let cmd = "exe '!'.escape(" . string(git) . " . ' ' . s:ShellExpand(" . string(args) . "),'!#%')"
|
||||
|
Loading…
Reference in New Issue
Block a user