Skip to content

Commit

Permalink
fix(ui): dont update on msg_ruler. Fixes #588
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 4, 2023
1 parent 8d775bc commit ec19fc0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lua/noice/ui/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,9 @@ function M.enable()

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

0 comments on commit ec19fc0

Please sign in to comment.