You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/nvim-tree/_meta/config.lua
+60-14Lines changed: 60 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -422,29 +422,75 @@ error("Cannot require a meta file")
422
422
-- Filesystem Watchers
423
423
--
424
424
425
+
--- Use file system watcher (libuv fs_event) to watch the filesystem for changes.
426
+
---
427
+
--- Using this will disable |BufEnter| and |BufWritePost| events in nvim-tree which were used to update the whole tree.
428
+
---
429
+
--- With this feature, the tree will be updated only for the appropriate folder change, resulting in better performance.
425
430
---@classnvim_tree.Config.FilesystemWatchers
426
-
---@fieldenable? boolean Enable / disable the feature. Default: `true`
427
-
---@fielddebounce_delay? integer Idle milliseconds between filesystem change and action. Default: `50` (ms)
428
-
---@fieldignore_dirs? string[]|fun(path: string): boolean List of vim regex for absolute directory paths that will not be watched or 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. Default: `{ "/.ccls-cache", "/build", "/node_modules", "/target", }`
431
+
---
432
+
---(default: `true`)
433
+
---@fieldenable? boolean
434
+
---
435
+
---Idle milliseconds between filesystem change and action.
436
+
---(default: `50`)
437
+
---@fielddebounce_delay? integer
438
+
---
439
+
---List of vim regex for absolute directory paths that will not be watched or 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.
0 commit comments