neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit bd37348939a781046dedc6f101a8db80bf1afc53
parent 3ebde5ea147c4ba931c72e8d860824d65be50004
Author: Felipe Lema <felipelema@mortemale.org>
Date:   Mon,  7 Apr 2025 05:13:05 -0400

fix(health): expecting nonexistent "inotifywait" function #33312

Problem:
55e4301036bb938474fc9768c41e28df867d9286 changed the program name but not the function name.

Solution:
Fix the healthcheck.
Diffstat:
Mruntime/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 @@ -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)