Files
neovim/test/functional/fixtures/lua/test_plug/lua/health.lua
phanium f5dd30948e fix(checkhealth): handle nested lua/ directory #32918
Problem: :checkhealth fails if plugin has nested "lua/" directory

Solution: trim `{runtimepath}/lua` from fullpath to get subpath
(`./**/{health, health/init.lua}`)
2025-03-16 05:49:05 -07:00

9 lines
129 B
Lua

local M = {}
M.check = function()
vim.health.start('nested lua/ directory')
vim.health.ok('everything is ok')
end
return M