feat(watcher): debounce FS watchers
This commit is contained in:
@@ -273,6 +273,7 @@ Setup may only be run once; subsequent calls will result in a warning.
|
||||
filesystem_watchers = {
|
||||
enable = false,
|
||||
interval = 100,
|
||||
debounce_delay = 50,
|
||||
},
|
||||
git = {
|
||||
enable = true,
|
||||
@@ -524,6 +525,10 @@ This will be experimental for a few weeks and will become the default.
|
||||
https://github.com/luvit/luv/blob/master/docs.md#uvfs_poll_startfs_poll-path-interval-callback
|
||||
Type: `number`, Default: `100` (ms)
|
||||
|
||||
*nvim-tree.filesystem_watchers.debounce_delay*
|
||||
Idle milliseconds between filesystem change and action.
|
||||
Type: `number`, Default: `50` (ms)
|
||||
|
||||
*nvim-tree.view*
|
||||
Window / buffer setup.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user