Pin version of nvim plugins lsp and treesitter

For using named plugins with neovim < 0.10 plugin versions not above a
certain value are needed.
This commit is contained in:
don philipe
2025-04-08 12:50:46 +02:00
parent b3d8e46003
commit 9803f705e4
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
return {
{'neovim/nvim-lspconfig'},
{'neovim/nvim-lspconfig', tag = 'v1.7.0'}, -- pin to a version thats compatible with nvim < 0.10
{'hrsh7th/cmp-nvim-lsp'},
{'hrsh7th/nvim-cmp'},
}

View File

@@ -1,5 +1,6 @@
return {
{'nvim-treesitter/nvim-treesitter'}
{'nvim-treesitter/nvim-treesitter',
tag = 'v0.9.3'}, -- pin to a version that works with nvim < 0.10
-- configure parsers via config/treesitter.lua
-- update parsers with :TSUpdate
}