nvim-lua.kickstart.nvim/lua/kickstart/plugins/neo-tree.lua
2025-06-12 18:06:08 +05:00

31 lines
859 B
Lua

-- Neo-tree is a Neovim plugin to browse the file system
-- https://github.com/nvim-neo-tree/neo-tree.nvim
return {
'nvim-neo-tree/neo-tree.nvim',
version = '*',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
'MunifTanjim/nui.nvim',
},
cmd = 'Neotree',
keys = {
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
},
opts = {
popup_border_style = 'NC', -- or "" to use 'winborder' on Neovim v0.11+
filesystem = {
filtered_items = {
visible = true, -- This is what you want: If you set this to `true`, all "hide" just mean "dimmed out"
hide_dotfiles = false,
hide_gitignored = false,
},
window = {
mappings = {
['\\'] = 'close_window',
},
},
},
},
}