mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:00: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
|
end
|
||||||
-- @todo the text maybe changed
|
-- @todo the text maybe changed
|
||||||
local background = 'no-background'
|
local background = 'no-background'
|
||||||
if entry.value.task.isBackground == 1 then
|
if entry.value.task.isBackground then
|
||||||
background = 'background'
|
background = 'background'
|
||||||
end
|
end
|
||||||
return displayer({
|
return displayer({
|
||||||
|
Loading…
Reference in New Issue
Block a user