parent
dcae627181
commit
a7c83f6e2e
@ -6,7 +6,11 @@ scriptencoding utf-8
|
||||
function! sy#util#escape(path) abort
|
||||
if exists('+shellslash')
|
||||
let old_ssl = &shellslash
|
||||
set noshellslash
|
||||
if fnamemodify(&shell, ':t') == 'cmd.exe'
|
||||
set noshellslash
|
||||
else
|
||||
set shellslash
|
||||
endif
|
||||
endif
|
||||
|
||||
let path = shellescape(a:path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user