1
0
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:
Eric Wong 2024-06-02 23:43:52 +08:00
parent f6ee684f00
commit ee5cc484d1

View File

@ -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({