mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-23 05:38:38 +02:00
Neotree close on only window open
This commit is contained in:
parent
046e0b1477
commit
a35bc79b5f
1 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,8 @@ return {
|
||||||
-- Unless you are still migrating, remove the deprecated commands from v1.x
|
-- Unless you are still migrating, remove the deprecated commands from v1.x
|
||||||
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
|
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
|
||||||
|
|
||||||
require('neo-tree').setup {}
|
require('neo-tree').setup {
|
||||||
|
close_if_last_window = true,
|
||||||
|
}
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue