Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/nvim-tree-lua.txt
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ Following is the default configuration. See |nvim-tree-opts| for details.
filesystem_watchers = {
enable = true,
debounce_delay = 50,
ignore_dirs = {},
ignore_dirs = { "node_modules" },
},
actions = {
use_system_clipboard = true,
Expand Down Expand Up @@ -1416,7 +1416,7 @@ function returning whether a path should be ignored.
Strings must be backslash escaped e.g. `"my-proj/\\.build$"`. See |string-match|.
Function is passed an absolute path.
Useful when path is not in `.gitignore` or git integration is disabled.
Type: `string[] | fun(path: string): boolean`, Default: `{}`
Type: `string[] | fun(path: string): boolean`, Default: `{ "node_modules" }`

==============================================================================
5.13 OPTS: ACTIONS *nvim-tree-opts-actions*
Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
filesystem_watchers = {
enable = true,
debounce_delay = 50,
ignore_dirs = {},
ignore_dirs = { "node_modules" },
},
actions = {
use_system_clipboard = true,
Expand Down
Loading