mirror of
https://github.com/neovim/neovim.git
synced 2026-03-30 20:32:08 +00:00
fix(health): expecting nonexistent "inotifywait" function #33312
Problem:
55e4301036 changed the program name but not the function name.
Solution:
Fix the healthcheck.
This commit is contained in:
@@ -111,8 +111,8 @@ local function check_watcher()
|
||||
watchfunc_name = 'libuv-watch'
|
||||
elseif watchfunc == vim._watch.watchdirs then
|
||||
watchfunc_name = 'libuv-watchdirs'
|
||||
elseif watchfunc == vim._watch.inotifywait then
|
||||
watchfunc_name = 'inotifywait'
|
||||
elseif watchfunc == vim._watch.inotify then
|
||||
watchfunc_name = 'inotify'
|
||||
else
|
||||
local nm = debug.getinfo(watchfunc, 'S').source
|
||||
watchfunc_name = string.format('Custom (%s)', nm)
|
||||
|
||||
Reference in New Issue
Block a user