mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
Fix isBackground checking
This commit is contained in:
parent
48cdcfee48
commit
e5e98d7992
@ -387,7 +387,7 @@ endfunction
|
||||
|
||||
function! SpaceVim#plugins#runner#run_task(task)
|
||||
let isBackground = get(a:task, 'isBackground', 0)
|
||||
if isBackground && !empty(a:task)
|
||||
if !empty(a:task)
|
||||
let cmd = get(a:task, 'command', '')
|
||||
let args = get(a:task, 'args', [])
|
||||
if !empty(args) && !empty(cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user