fix: close behaviour of neo-tree and don't hide dotfiles

This commit is contained in:
dario 2025-10-08 09:43:05 +02:00 committed by dasvh
parent fa2ed01113
commit 365ea56a98
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
return {
'nvim-neo-tree/neo-tree.nvim',
lazy = false,
version = '*',
dependencies = {
'nvim-lua/plenary.nvim',
@ -14,12 +15,16 @@ return {
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
},
opts = {
close_if_last_window = true,
filesystem = {
window = {
mappings = {
['\\'] = 'close_window',
},
},
filtered_items = {
hide_dotfiles = false,
},
},
},
}