Skip to content

Commit

Permalink
fix(router): don't use SafeState since apparently this is a nightly…
Browse files Browse the repository at this point in the history
… thing and seems to work without. Fixes #805
  • Loading branch information
folke committed May 16, 2024
1 parent f19dbaa commit ef085e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/noice/message/router.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ function M.enable()
M._updater = Util.interval(Config.options.throttle, Util.protect(M.update))
end
M._updater()
vim.api.nvim_create_autocmd("SafeState", {
group = vim.api.nvim_create_augroup("NoiceRouter", { clear = true }),
callback = M.update,
})
-- vim.api.nvim_create_autocmd("SafeState", {
-- group = vim.api.nvim_create_augroup("NoiceRouter", { clear = true }),
-- callback = M.update,
-- })
end

function M.disable()
Expand Down

0 comments on commit ef085e9

Please sign in to comment.