add neotree configs and remove redundant stuff

This commit is contained in:
2025-08-12 09:24:23 +01:00
parent e3bd8537e2
commit 7f529c4270
6 changed files with 35 additions and 43 deletions

18
lua/plugins/neo-tree.lua Normal file
View File

@@ -0,0 +1,18 @@
return {
'nvim-neo-tree/neo-tree.nvim',
opts = function(_, opts)
opts.filesystem.filtered_items = {
visible = true,
always_show = { -- remains visible even if other settings would normally hide it
'.gitignore',
},
always_show_by_pattern = {
'.env*',
},
never_show = { -- remains hidden even if visible is toggled to true, this overrides always_show
'.DS_Store',
--"thumbs.db"
},
}
end,
}