We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d80a69 commit 8c8acf7Copy full SHA for 8c8acf7
lua/noice/init.lua
@@ -21,13 +21,6 @@ function M.setup(opts)
21
require("noice.commands").setup()
22
require("noice.message.router").setup()
23
M.enable()
24
- vim.api.nvim_create_autocmd("VimLeavePre", {
25
- callback = function()
26
- if Config.is_running() then
27
- pcall(M.disable)
28
- end
29
- end,
30
- })
31
end)
32
end
33
lua/noice/message/router.lua
@@ -142,6 +142,10 @@ function M.get_views()
142
143
144
function M.update()
145
+ if vim.v.exiting ~= vim.NIL then
146
+ return
147
+ end
148
+
149
if M._updating then
150
return
151
0 commit comments