add neotree configs and remove redundant stuff
This commit is contained in:
18
lua/plugins/neo-tree.lua
Normal file
18
lua/plugins/neo-tree.lua
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user