From bd3363e01dada7b8b603dd6c0aac37fd8f4f71c4 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Sun, 4 Jul 2021 23:51:12 -0500 Subject: Checkhealth: include injections Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1459 --- lua/nvim-treesitter/health.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua index 037c5b147..f68a8c010 100644 --- a/lua/nvim-treesitter/health.lua +++ b/lua/nvim-treesitter/health.lua @@ -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 -- cgit v1.2.3-70-g09d2