mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
Checkhealth: include injections
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1459
This commit is contained in:
parent
be8f656087
commit
bd3363e01d
1 changed files with 2 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ function M.checkhealth()
|
||||||
-- Installation dependency checks
|
-- Installation dependency checks
|
||||||
install_health()
|
install_health()
|
||||||
queries.invalidate_query_cache()
|
queries.invalidate_query_cache()
|
||||||
health_start "Parser/Features H L F I"
|
health_start "Parser/Features H L F I J"
|
||||||
-- Parser installation checks
|
-- Parser installation checks
|
||||||
for _, parser_name in pairs(info.installed_parsers()) do
|
for _, parser_name in pairs(info.installed_parsers()) do
|
||||||
local installed = #api.nvim_get_runtime_file("parser/" .. parser_name .. ".so", false)
|
local installed = #api.nvim_get_runtime_file("parser/" .. parser_name .. ".so", false)
|
||||||
|
|
@ -128,7 +128,7 @@ function M.checkhealth()
|
||||||
end
|
end
|
||||||
print [[
|
print [[
|
||||||
|
|
||||||
Legend: H[ighlight], L[ocals], F[olds], I[ndents]
|
Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
|
||||||
+) multiple parsers found, only one will be used
|
+) multiple parsers found, only one will be used
|
||||||
x) errors found in the query, try to run :TSUpdate {lang}]]
|
x) errors found in the query, try to run :TSUpdate {lang}]]
|
||||||
if #error_collection > 0 then
|
if #error_collection > 0 then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue