aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-07-04 23:51:12 -0500
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-05 12:34:47 +0200
commitbd3363e01dada7b8b603dd6c0aac37fd8f4f71c4 (patch)
tree9d768b04e40fc391688595358ee055e707de806d /lua
parentUse stylua for autoformat code (#1480) (diff)
downloadnvim-treesitter-bd3363e01dada7b8b603dd6c0aac37fd8f4f71c4.tar
nvim-treesitter-bd3363e01dada7b8b603dd6c0aac37fd8f4f71c4.tar.gz
nvim-treesitter-bd3363e01dada7b8b603dd6c0aac37fd8f4f71c4.tar.bz2
nvim-treesitter-bd3363e01dada7b8b603dd6c0aac37fd8f4f71c4.tar.lz
nvim-treesitter-bd3363e01dada7b8b603dd6c0aac37fd8f4f71c4.tar.xz
nvim-treesitter-bd3363e01dada7b8b603dd6c0aac37fd8f4f71c4.tar.zst
nvim-treesitter-bd3363e01dada7b8b603dd6c0aac37fd8f4f71c4.zip
Checkhealth: include injections
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1459
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/health.lua4
1 files changed, 2 insertions, 2 deletions
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