File tree 2 files changed +2
-12
lines changed 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.
332
332
enable = false,
333
333
show_on_dirs = true,
334
334
show_on_open_dirs = false,
335
- debounce_delay = 50,
336
335
},
337
336
actions = {
338
337
use_system_clipboard = true,
@@ -644,12 +643,6 @@ Indicate which file have unsaved modification.
644
643
Only relevant when | modified.show_on_dirs | is `true` .
645
644
Type: `boolean ` , Default: `false`
646
645
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
-
653
646
You will still need to set | renderer.icons.show.modified | `= true` or
654
647
| renderer.highlight_modified | `= true` to be able to see things in the
655
648
tree.
Original file line number Diff line number Diff line change @@ -481,10 +481,8 @@ local function setup_autocommands(opts)
481
481
if opts .modified .enable then
482
482
create_nvim_tree_autocmd ({ " BufModifiedSet" , " BufWritePost" }, {
483
483
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 ()
488
486
end ,
489
487
})
490
488
end
@@ -653,7 +651,6 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
653
651
enable = false ,
654
652
show_on_dirs = true ,
655
653
show_on_open_dirs = false ,
656
- debounce_delay = 50 ,
657
654
},
658
655
actions = {
659
656
use_system_clipboard = true ,
You can’t perform that action at this time.
0 commit comments