From 7c92c14124fc5550aa5ea1ccc1ff558576be30ce Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Sun, 17 Mar 2024 13:31:16 +0100 Subject: [PATCH] neotree show hidden files --- lua/custom/plugins/filetree.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lua/custom/plugins/filetree.lua b/lua/custom/plugins/filetree.lua index 5dfea3f..2204c0a 100644 --- a/lua/custom/plugins/filetree.lua +++ b/lua/custom/plugins/filetree.lua @@ -13,6 +13,22 @@ return { 'MunifTanjim/nui.nvim', }, config = function() - require('neo-tree').setup {} + require('neo-tree').setup { + filesystem = { + filtered_items = { + visible = true, + hide_dotfiles = false, + hide_gitignored = false, + hide_by_name = { + 'node_modules', + '.svelte-kit', + 'target', + '.git', + 'bin', + 'obj', + }, + }, + }, + } end, }