Neotree close on only window open

This commit is contained in:
Ting Lu 2023-02-25 15:26:01 -06:00
parent 046e0b1477
commit a35bc79b5f
1 changed files with 3 additions and 1 deletions

View File

@ -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,
} }