Skip to content

Commit 2152f18

Browse files
committed
feat: revert use_libuv_file_watcher default back to false, fixes #188
1 parent eb4cc14 commit 2152f18

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ should you!
3030
- Neo-tree won't let other buffers take over it's window.
3131
- Neo-tree won't leave it's window scrolled to the last line when there is
3232
plenty of room to display the whole tree.
33-
- Neo-tree does not need to be manually refreshed
33+
- Neo-tree does not need to be manually refreshed (set `use_libuv_file_watcher=true`)
3434
- Neo-tree can intelligently follow the current file (set `follow_current_file=true`)
3535
- Neo-tree is thoughtful about maintaining or setting focus on the right node
3636
- Neo-tree windows in different tabs are completely separate
@@ -158,6 +158,8 @@ use {
158158
-- "open_current", -- netrw disabled, opening a directory opens within the
159159
-- window like netrw would, regardless of window.position
160160
-- "disabled", -- netrw left alone, neo-tree does not handle opening dirs
161+
use_libuv_file_watcher = false, -- This will use the OS level file watchers to detect changes
162+
-- instead of relying on nvim autocmd events.
161163
},
162164
buffers = {
163165
show_unloaded = true,

lua/neo-tree/defaults.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ local config = {
224224
-- "open_current",-- netrw disabled, opening a directory opens within the
225225
-- window like netrw would, regardless of window.position
226226
-- "disabled", -- netrw left alone, neo-tree does not handle opening dirs
227-
use_libuv_file_watcher = true, -- This will use the OS level file watchers to detect changes
227+
use_libuv_file_watcher = false, -- This will use the OS level file watchers to detect changes
228228
-- instead of relying on nvim autocmd events.
229229
},
230230
buffers = {

0 commit comments

Comments
 (0)