1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-15 08:09:11 +08:00
This commit is contained in:
wsdjeg 2017-04-26 20:37:35 +08:00
parent 63dd572190
commit 0c9cb6d445

View File

@ -46,8 +46,8 @@ else
function! s:systemlist(cmd, ...) abort
if type(a:cmd) == 3
let cmd = map(a:cmd, 'shellescape(v:val)')
let cmd = join(cmd, ' ')
return a:0 == 0 ? systemlist(cmd) : systemlist(cmd, a:1)
let excmd = join(cmd, ' ')
return a:0 == 0 ? systemlist(excmd) : systemlist(excmd, a:1)
else
return a:0 == 0 ? systemlist(a:cmd) : systemlist(a:cmd, a:1)
endif