parent
672d3b5c82
commit
7b19c1b2f6
@ -34,7 +34,7 @@ function! s:shellesc(arg) abort
|
||||
if a:arg =~ '^[A-Za-z0-9_/.-]\+$'
|
||||
return a:arg
|
||||
elseif &shell =~# 'cmd'
|
||||
return '"'.substitute(substitute(a:arg, '"', '""""', 'g'), '%', '"%"', 'g').'"'
|
||||
throw 'Python interface not working. See :help python-dynamic'
|
||||
else
|
||||
let escaped = shellescape(a:arg)
|
||||
if &shell =~# 'sh' && &shell !~# 'csh'
|
||||
|
Loading…
Reference in New Issue
Block a user