Skip to content

Commit 5f30a7b

Browse files
committed
chore(config): enable filesystem watchers by default
1 parent eff1db3 commit 5f30a7b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

doc/nvim-tree-lua.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Subsequent calls to setup will replace the previous configuration.
278278
exclude = {},
279279
},
280280
filesystem_watchers = {
281-
enable = false,
281+
enable = true,
282282
debounce_delay = 50,
283283
},
284284
git = {
@@ -533,11 +533,10 @@ Using this will disable BufEnter / BufWritePost events in nvim-tree which
533533
were used to update the whole tree. With this feature, the tree will be
534534
updated only for the appropriate folder change, resulting in better
535535
performance.
536-
This will be experimental for a few weeks and will become the default.
537536

538537
*nvim-tree.filesystem_watchers.enable*
539538
Enable / disable the feature.
540-
Type: `boolean`, Default: `false`
539+
Type: `boolean`, Default: `true`
541540

542541
*nvim-tree.filesystem_watchers.debounce_delay*
543542
Idle milliseconds between filesystem change and action.

lua/nvim-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
538538
exclude = {},
539539
},
540540
filesystem_watchers = {
541-
enable = false,
541+
enable = true,
542542
debounce_delay = 50,
543543
},
544544
git = {

0 commit comments

Comments
 (0)