show hidden files in neotree

This commit is contained in:
Andrzej Stepien 2024-03-19 12:04:53 +01:00
parent 621c1df028
commit 193b75e116
1 changed files with 21 additions and 10 deletions

View File

@ -1,5 +1,5 @@
return {
{
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
@ -7,6 +7,17 @@ return {
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
}
}
},
init = function()
require("neo-tree").setup({
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 = true,
},
},
})
end,
},
}