Skip to content

Commit

Permalink
fix(msg): update router when blocking
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 16, 2024
1 parent 872036f commit ee433a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lua/noice/ui/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ function M.enable()

-- check if we need to update the ui
if Manager.tick() > tick then
do
-- Util.debug(vim.inspect({ event, stack_level, Util.is_blocking(), tick, kind, ... }))
-- Util.debug(vim.inspect({ event, stack_level, Util.is_blocking(), tick, kind, ... }))
if Util.is_blocking() and event ~= "msg_ruler" and kind ~= "search_count" then
Util.try(Router.update)
end
else
local widget = M.parse_event(event)
Expand Down

0 comments on commit ee433a7

Please sign in to comment.