fix(treesitter): pin to archived master branch

The config uses the legacy `nvim-treesitter.configs` API, which the
`main` rewrite dropped. Without an explicit branch pin, `Lazy sync`
jumped to `main` and broke startup (module 'nvim-treesitter.configs'
not found). Pin both treesitter and treesitter-textobjects to `master`
and refresh the lockfile to a known-good synced state.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
naps62
2026-06-15 16:16:09 +00:00
co-authored by Claude Opus 4.8
parent 7c227632f1
commit 35370b831c
2 changed files with 26 additions and 23 deletions
+4 -1
View File
@@ -1,9 +1,12 @@
return {
{
"nvim-treesitter/nvim-treesitter",
-- Pin to archived `master` branch: this config uses the legacy
-- `nvim-treesitter.configs` API, which the `main` rewrite dropped.
branch = "master",
dependencies = {
"JoosepAlviste/nvim-ts-context-commentstring",
"nvim-treesitter/nvim-treesitter-textobjects",
{ "nvim-treesitter/nvim-treesitter-textobjects", branch = "master" },
},
config = function(_, opts)
require("nvim-treesitter.configs").setup(opts)