feat: neo-tree.nvim - do not hide dotfiles

This commit is contained in:
Ryan Yin
2025-07-02 21:17:26 +08:00
parent a144093227
commit 8af80214f5

View File

@@ -1,4 +1,15 @@
-- File explorer(Custom configs)
return {
"nvim-neo-tree/neo-tree.nvim",
opts = function(_, opts)
opts.filesystem.filtered_items = {
visible = true, -- visible by default
hide_dotfiles = false,
hide_gitignored = false,
}
opts.filesystem.follow_current_file = {
enabled = true, -- This will find and focus the file in the active buffer every time
leave_dirs_open = false, -- `false` closes auto expanded dirs, such as with `:Neotree reveal`
}
end,
}