File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,6 @@ Subsequent calls to setup will replace the previous configuration.
332332 enable = false,
333333 show_on_dirs = true,
334334 show_on_open_dirs = false,
335- debounce_delay = 50,
336335 },
337336 actions = {
338337 use_system_clipboard = true,
@@ -644,12 +643,6 @@ Indicate which file have unsaved modification.
644643 Only relevant when | modified.show_on_dirs | is `true` .
645644 Type: `boolean ` , Default: `false`
646645
647- *nvim-tree.modified.debounce_delay*
648- Idle milliseconds between the file is modified and action.
649- This helps performance when large number of files are modified in quick
650- succession (e.g. lsp rename).
651- Type: `number ` , Default: `50 ` (ms)
652-
653646 You will still need to set | renderer.icons.show.modified | `= true` or
654647 | renderer.highlight_modified | `= true` to be able to see things in the
655648 tree.
Original file line number Diff line number Diff line change @@ -481,10 +481,8 @@ local function setup_autocommands(opts)
481481 if opts .modified .enable then
482482 create_nvim_tree_autocmd ({ " BufModifiedSet" , " BufWritePost" }, {
483483 callback = function ()
484- utils .debounce (" BufModifiedSet:modified_files" , opts .modified .debounce_delay , function ()
485- modified .reload ()
486- reloaders .reload_explorer ()
487- end )
484+ modified .reload ()
485+ reloaders .reload_explorer ()
488486 end ,
489487 })
490488 end
@@ -653,7 +651,6 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
653651 enable = false ,
654652 show_on_dirs = true ,
655653 show_on_open_dirs = false ,
656- debounce_delay = 50 ,
657654 },
658655 actions = {
659656 use_system_clipboard = true ,
You can’t perform that action at this time.
0 commit comments