mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
perf(explorer): disable watchdirs fallback watcher
This commit is contained in:
parent
d2796a1a8f
commit
5d34380310
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ function M.watcher()
|
|||
elseif vim.fn.executable("inotifywait") == 1 then
|
||||
return vim._watch.inotify
|
||||
end
|
||||
return vim._watch.watchdirs
|
||||
-- This is horrible for performance. Don't use it!
|
||||
-- return vim._watch.watchdirs
|
||||
end
|
||||
|
||||
local running = {} ---@type table<string, fun()>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue