mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -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
|
||||
install_health()
|
||||
queries.invalidate_query_cache()
|
||||
health_start "Parser/Features H L F I"
|
||||
health_start "Parser/Features H L F I J"
|
||||
-- Parser installation checks
|
||||
for _, parser_name in pairs(info.installed_parsers()) do
|
||||
local installed = #api.nvim_get_runtime_file("parser/" .. parser_name .. ".so", false)
|
||||
|
|
@ -128,7 +128,7 @@ function M.checkhealth()
|
|||
end
|
||||
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
|
||||
x) errors found in the query, try to run :TSUpdate {lang}]]
|
||||
if #error_collection > 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue