Exclude .git and node_modules

This commit is contained in:
ekzyis 2024-04-22 23:07:38 +02:00
parent 1bcf68ac25
commit 2c8f9d2ed8
1 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,10 @@ return {
end end
api.tree.focus() api.tree.focus()
end, opts('Open: New Tab (unfocused)')) end, opts('Open: New Tab (unfocused)'))
end end,
filters = {
custom = { "^\\.git", "^\\node_modules" }
}
}) })
local api = require('nvim-tree.api') local api = require('nvim-tree.api')