Skip to content

Commit

Permalink
fix: return nil when Noice is not running for statusline
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 27, 2022
1 parent 5f4544f commit 289ce14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/noice/api/status.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ end
local function NoiceStatus(name)
local function _get()
if not Config.is_running() then
return {}
return
end
local filter = Config.options.status[name] or nothing
return Manager.get(filter, {
Expand Down

0 comments on commit 289ce14

Please sign in to comment.