Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 @@ -1709,7 +1709,7 @@ Config: filesystem_watchers *nvim-tree-config-filesystem-watchers*
between filesystem change and tree update.
• {ignore_dirs}? (`string[]|(fun(path: string): boolean)`, default: `{ "/.ccls-cache", "/build", "/node_modules", "/target", }`)
Disable for specific directories.
• {max_events}? (`integer`, default: `100`) Disable for a single
• {max_events}? (`integer`, default: `1000`) Disable for a single
directory after {max_events} consecutive events
with an interval < {debounce_delay}.

Expand Down Expand Up @@ -2182,7 +2182,7 @@ Following is the default configuration, see |nvim_tree.config| for details. >lua
filesystem_watchers = {
enable = true,
debounce_delay = 50,
max_events = 100,
max_events = 1000,
ignore_dirs = {
"/.ccls-cache",
"/build",
Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ local DEFAULT_OPTS = { -- default-config-start
filesystem_watchers = {
enable = true,
debounce_delay = 50,
max_events = 100,
max_events = 1000,
ignore_dirs = {
"/.ccls-cache",
"/build",
Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree/_meta/config/filesystem_watchers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ error("Cannot require a meta file")
---@field ignore_dirs? string[]|(fun(path: string): boolean)
---
---Disable for a single directory after {max_events} consecutive events with an interval < {debounce_delay}.
---(default: `100`)
---(default: `1000`)
---@field max_events? integer
Loading