mirror of
https://github.com/neovim/neovim.git
synced 2026-04-19 22:10:45 +00:00
feat(checkhealth): check runtime ($VIMRUNTIME)
Move man/health.lua into the "runtime" check. fix #20696
This commit is contained in:
@@ -20,7 +20,9 @@ function M.check()
|
||||
local is_loadable, ret = pcall(ts.language.require_language, parsername)
|
||||
|
||||
if not is_loadable or not ret then
|
||||
health.report_error(string.format('Parser "%s" failed to load (path: %s): %s', parsername, parser, ret or '?'))
|
||||
health.report_error(
|
||||
string.format('Parser "%s" failed to load (path: %s): %s', parsername, parser, ret or '?')
|
||||
)
|
||||
elseif ret then
|
||||
local lang = ts.language.inspect_language(parsername)
|
||||
health.report_ok(
|
||||
|
||||
Reference in New Issue
Block a user