From 4bdb5e86bf3670a12e11616bb709a40f098a6254 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Tue, 8 Nov 2022 21:31:22 +0100 Subject: [PATCH] plugins: nvim-treesitter for neovim-0.8 --- plugins-noroot-nolowendbox.vim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins-noroot-nolowendbox.vim b/plugins-noroot-nolowendbox.vim index ceba0e3..38d914e 100644 --- a/plugins-noroot-nolowendbox.vim +++ b/plugins-noroot-nolowendbox.vim @@ -56,8 +56,12 @@ Plug 'dbeniamine/cheat.sh-vim', {'on': 'Cheat'} Plug 'sheerun/vim-polyglot' -if has('nvim-0.5') - Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate', 'tag': 'v0.8.0'} +if has('nvim') + if has('nvim-0.8') + Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} + else + Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate', 'tag': 'v0.8.0'} + endif Plug 'nvim-treesitter/nvim-treesitter-refactor', {'do': ':TSUpdate'} endif -- 2.39.5