mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
feat: added deactivate for neo-tree and noice
This commit is contained in:
parent
5aa85e47e4
commit
10f809784d
2 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,9 @@ return {
|
|||
{ "<leader>e", "<leader>fe", desc = "Explorer NeoTree (root dir)", remap = true },
|
||||
{ "<leader>E", "<leader>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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue