File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -561,7 +561,7 @@ Following is the default configuration. See |nvim-tree-opts| for details.
561561 filesystem_watchers = {
562562 enable = true,
563563 debounce_delay = 50,
564- ignore_dirs = {},
564+ ignore_dirs = { "node_modules" },
565565 },
566566 actions = {
567567 use_system_clipboard = true,
@@ -1416,7 +1416,7 @@ function returning whether a path should be ignored.
14161416Strings must be backslash escaped e.g. `" my-proj/\\ .build$" ` . See | string-match | .
14171417Function is passed an absolute path.
14181418Useful when path is not in `.gitignore` or git integration is disabled.
1419- Type: `string[] | fun(path: string): boolean`, Default: `{}`
1419+ Type: `string[] | fun(path: string): boolean`, Default: `{ "node_modules" }`
14201420
14211421==============================================================================
14221422 5.13 OPTS: ACTIONS *nvim-tree-opts-actions*
Original file line number Diff line number Diff line change @@ -551,7 +551,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
551551 filesystem_watchers = {
552552 enable = true ,
553553 debounce_delay = 50 ,
554- ignore_dirs = {},
554+ ignore_dirs = { " node_modules " },
555555 },
556556 actions = {
557557 use_system_clipboard = true ,
You can’t perform that action at this time.
0 commit comments