diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-04-26 09:29:52 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-04-26 09:29:52 +0200 |
| commit | 4d4e7d8a8c03c958e8badf7e3ee34e444ddcb4e0 (patch) | |
| tree | e36e0a1d7dc31208501132908a9c4f6eb105572f /lua/nvim-treesitter/health.lua | |
| parent | f8b39e1d3ad36c2e5d6eb6f51983275ecc9145f0 (diff) | |
health: add highlight to healthchecks
Diffstat (limited to 'lua/nvim-treesitter/health.lua')
| -rw-r--r-- | lua/nvim-treesitter/health.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua index 563e46a9..86216187 100644 --- a/lua/nvim-treesitter/health.lua +++ b/lua/nvim-treesitter/health.lua @@ -3,6 +3,7 @@ local fn = vim.fn local queries = require'nvim-treesitter.query' local locals = require'nvim-treesitter.locals' +local highlight = require'nvim-treesitter.highlight' local configs = require'nvim-treesitter.configs' local health_start = vim.fn["health#report_start"] @@ -51,6 +52,7 @@ function M.checkhealth() health_ok(parser_name .. " parser found.") locals.checkhealth(parser_name) + highlight.checkhealth(parser_name) elseif installed > 1 then health_warn(string.format("Multiple parsers found for %s, only %s will be used.", parser_name, installed[1])) else |
