mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-26 02:38:50 +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
|
||||
|
|
|
@ -188,6 +188,9 @@ return {
|
|||
{
|
||||
"folke/noice.nvim",
|
||||
event = "VeryLazy",
|
||||
deactivate = function()
|
||||
require("noice").disable()
|
||||
end,
|
||||
opts = {
|
||||
lsp = {
|
||||
override = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue