From e5e98d79926c74daa43131fbf63f6dda1be0b23c Mon Sep 17 00:00:00 2001 From: Shidong Wang Date: Sat, 15 Feb 2020 21:06:05 +0800 Subject: [PATCH] Fix isBackground checking --- autoload/SpaceVim/plugins/runner.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/SpaceVim/plugins/runner.vim b/autoload/SpaceVim/plugins/runner.vim index cb63e5a2c..436e77b78 100644 --- a/autoload/SpaceVim/plugins/runner.vim +++ b/autoload/SpaceVim/plugins/runner.vim @@ -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)