diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/health.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua index 86784a5ac..b1c1a8f7a 100644 --- a/lua/nvim-treesitter/health.lua +++ b/lua/nvim-treesitter/health.lua @@ -13,6 +13,7 @@ local M = {} local function install_health() health_start('Installation') + if fn.executable('tree-sitter') == 0 then health_warn('`tree-sitter` executable not found (parser generator, only needed for :TSInstallFromGrammar,'.. ' not required for :TSInstall)') @@ -40,6 +41,9 @@ local function install_health() else health_ok('`cc` executable found.') end + if vim.treesitter.language_version then + print('\nNeovim was compiled with tree-sitter runtime ABI version '..vim.treesitter.language_version..'.') + end end local function query_status(lang, query_group) |
