mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00

Problem: :checkhealth fails if plugin has nested "lua/" directory Solution: trim `{runtimepath}/lua` from fullpath to get subpath (`./**/{health, health/init.lua}`)
9 lines
129 B
Lua
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
|