From: Stefan Huber Date: Tue, 8 Nov 2022 20:31:22 +0000 (+0100) Subject: plugins: nvim-treesitter for neovim-0.8 X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=4bdb5e86bf3670a12e11616bb709a40f098a6254;p=vimconf.git plugins: nvim-treesitter for neovim-0.8 --- 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