neovim

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

commit 4c9f3689a1c0646c8d743a2958af286b05c04ac5
parent a9c12d4c298813ed3aee36b2b4d5d0912c7201ea
Author: phanium <91544758+phanen@users.noreply.github.com>
Date:   Thu, 23 Jan 2025 10:39:26 +0800

fix(checkhealth): failed if 'lua' in plugin name

Diffstat:
Mruntime/lua/vim/health.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua @@ -118,7 +118,7 @@ local function filepath_to_healthcheck(path) func = 'health#' .. name .. '#check' filetype = 'v' else - local subpath = path:gsub('.*lua/', '') + local subpath = path:gsub('.*/lua/', '') if vim.fs.basename(subpath) == 'health.lua' then -- */health.lua name = vim.fs.dirname(subpath)