mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:20:05 +08:00
fix(task): check isBackground by boolean
This commit is contained in:
parent
f6ee684f00
commit
ee5cc484d1
@ -50,7 +50,7 @@ local function show_taskconfig(opts)
|
||||
end
|
||||
-- @todo the text maybe changed
|
||||
local background = 'no-background'
|
||||
if entry.value.task.isBackground == 1 then
|
||||
if entry.value.task.isBackground then
|
||||
background = 'background'
|
||||
end
|
||||
return displayer({
|
||||
|
Loading…
Reference in New Issue
Block a user