mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-05 03:08:13 +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
|
elseif vim.fn.executable("inotifywait") == 1 then
|
||||||
return vim._watch.inotify
|
return vim._watch.inotify
|
||||||
end
|
end
|
||||||
return vim._watch.watchdirs
|
-- This is horrible for performance. Don't use it!
|
||||||
|
-- return vim._watch.watchdirs
|
||||||
end
|
end
|
||||||
|
|
||||||
local running = {} ---@type table<string, fun()>
|
local running = {} ---@type table<string, fun()>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue