From d740b0ad9244265358ea28211a84e6093025adee Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 25 Oct 2024 08:48:16 +0200 Subject: docs(readme): mark Nvim 0.10 as required --- README.md | 2 +- lua/nvim-treesitter/health.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1205209cd..bae5c5356 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ For more detailed information on setting these up, see ["Advanced setup"](#advan ## Requirements -- **Neovim 0.9.2** or later ([nightly](https://github.com/neovim/neovim#install-from-source) recommended) +- **Neovim 0.10** 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)). diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua index be265f7d0..32741b136 100644 --- a/lua/nvim-treesitter/health.lua +++ b/lua/nvim-treesitter/health.lua @@ -23,8 +23,8 @@ local NVIM_TREESITTER_MINIMUM_ABI = 13 local function install_health() _start "Installation" - if fn.has "nvim-0.9.2" ~= 1 then - _error "Nvim-treesitter requires Nvim 0.9.2 or newer" + if fn.has "nvim-0.10" ~= 1 then + _error "Nvim-treesitter requires Nvim 0.10 or newer" end if fn.executable "tree-sitter" == 0 then -- cgit v1.2.3-70-g09d2