File tree 2 files changed +3
-3
lines changed
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.
561
561
filesystem_watchers = {
562
562
enable = true,
563
563
debounce_delay = 50,
564
- ignore_dirs = {},
564
+ ignore_dirs = { "node_modules" },
565
565
},
566
566
actions = {
567
567
use_system_clipboard = true,
@@ -1416,7 +1416,7 @@ function returning whether a path should be ignored.
1416
1416
Strings must be backslash escaped e.g. `" my-proj/\\ .build$" ` . See | string-match | .
1417
1417
Function is passed an absolute path.
1418
1418
Useful 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" }`
1420
1420
1421
1421
==============================================================================
1422
1422
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
551
551
filesystem_watchers = {
552
552
enable = true ,
553
553
debounce_delay = 50 ,
554
- ignore_dirs = {},
554
+ ignore_dirs = { " node_modules " },
555
555
},
556
556
actions = {
557
557
use_system_clipboard = true ,
You can’t perform that action at this time.
0 commit comments