diff options
author | Felipe Lema <felipelema@mortemale.org> | 2025-04-07 05:13:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-07 02:13:05 -0700 |
commit | bd37348939a781046dedc6f101a8db80bf1afc53 (patch) | |
tree | 67d76471a563a102afd854d8f77990f62a03bddc | |
parent | 3ebde5ea147c4ba931c72e8d860824d65be50004 (diff) | |
download | rneovim-bd37348939a781046dedc6f101a8db80bf1afc53.tar.gz rneovim-bd37348939a781046dedc6f101a8db80bf1afc53.tar.bz2 rneovim-bd37348939a781046dedc6f101a8db80bf1afc53.zip |
fix(health): expecting nonexistent "inotifywait" function #33312
Problem:
55e4301036bb938474fc9768c41e28df867d9286 changed the program name but not the function name.
Solution:
Fix the healthcheck.
-rw-r--r-- | runtime/lua/vim/lsp/health.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp/health.lua b/runtime/lua/vim/lsp/health.lua index 04e8393eb3..d99555537f 100644 --- a/runtime/lua/vim/lsp/health.lua +++ b/runtime/lua/vim/lsp/health.lua @@ -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) |