From bd37348939a781046dedc6f101a8db80bf1afc53 Mon Sep 17 00:00:00 2001 From: Felipe Lema Date: Mon, 7 Apr 2025 05:13:05 -0400 Subject: fix(health): expecting nonexistent "inotifywait" function #33312 Problem: 55e4301036bb938474fc9768c41e28df867d9286 changed the program name but not the function name. Solution: Fix the healthcheck. --- runtime/lua/vim/lsp/health.lua | 4 ++-- 1 file 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) -- cgit