mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
chore: bump minimal Nvim version to 0.7 and check
Checks minimal version in `:checkhealth nvim-treesitter` Also recommend nightlies
This commit is contained in:
parent
8a1acc00d2
commit
a189323454
2 changed files with 6 additions and 2 deletions
|
|
@ -19,6 +19,10 @@ local NVIM_TREESITTER_MINIMUM_ABI = 13
|
|||
local function install_health()
|
||||
health_start "Installation"
|
||||
|
||||
if fn.has "nvim-0.7" == 0 then
|
||||
health_error "Nvim-treesitter requires Neovim 0.7.0+"
|
||||
end
|
||||
|
||||
if fn.executable "tree-sitter" == 0 then
|
||||
health_warn(
|
||||
"`tree-sitter` executable not found (parser generator, only needed for :TSInstallFromGrammar,"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue