Skip to content

Commit 289ce14

Browse files
committed
fix: return nil when Noice is not running for statusline
1 parent 5f4544f commit 289ce14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/noice/api/status.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ end
1616
local function NoiceStatus(name)
1717
local function _get()
1818
if not Config.is_running() then
19-
return {}
19+
return
2020
end
2121
local filter = Config.options.status[name] or nothing
2222
return Manager.get(filter, {

0 commit comments

Comments
 (0)