feat!: bump minimum Nvim version to 0.9.2

required for empty injection fix
This commit is contained in:
Christian Clason 2024-01-15 12:51:58 +01:00
parent 295ab1da52
commit 59d4c14a1a
2 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ For more detailed information on setting these up, see ["Advanced setup"](#advan
## Requirements
- **Neovim 0.9.1** or later ([nightly](https://github.com/neovim/neovim#install-from-source) recommended)
- **Neovim 0.9.2** or later ([nightly](https://github.com/neovim/neovim#install-from-source) recommended)
- `tar` and `curl` in your path (or alternatively `git`)
- A C compiler in your path and libstdc++ installed ([Windows users please read this!](https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support)).

View file

@ -23,8 +23,8 @@ local NVIM_TREESITTER_MINIMUM_ABI = 13
local function install_health()
_start "Installation"
if fn.has "nvim-0.9.1" ~= 1 then
_error "Nvim-treesitter requires Neovim 0.9.1+"
if fn.has "nvim-0.9.2" ~= 1 then
_error "Nvim-treesitter requires Nvim 0.9.2 or newer"
end
if fn.executable "tree-sitter" == 0 then