diff --git a/lua/lazyvim/plugins/editor.lua b/lua/lazyvim/plugins/editor.lua index 65ae567e..3d198e41 100644 --- a/lua/lazyvim/plugins/editor.lua +++ b/lua/lazyvim/plugins/editor.lua @@ -18,6 +18,9 @@ return { { "e", "fe", desc = "Explorer NeoTree (root dir)", remap = true }, { "E", "fE", desc = "Explorer NeoTree (cwd)", remap = true }, }, + deactivate = function() + vim.cmd([[Neotree close]]) + end, init = function() vim.g.neo_tree_remove_legacy_commands = 1 if vim.fn.argc() == 1 then diff --git a/lua/lazyvim/plugins/ui.lua b/lua/lazyvim/plugins/ui.lua index 2f0b9fe4..2f38ec27 100644 --- a/lua/lazyvim/plugins/ui.lua +++ b/lua/lazyvim/plugins/ui.lua @@ -188,6 +188,9 @@ return { { "folke/noice.nvim", event = "VeryLazy", + deactivate = function() + require("noice").disable() + end, opts = { lsp = { override = {