Skip to content

test(surround): fix problematic query after treesitter bump on Nightly#2285

Merged
echasnovski merged 1 commit intonvim-mini:mainfrom
TheLeoP:fix_test
Feb 26, 2026
Merged

test(surround): fix problematic query after treesitter bump on Nightly#2285
echasnovski merged 1 commit intonvim-mini:mainfrom
TheLeoP:fix_test

Conversation

@TheLeoP
Copy link
Member

@TheLeoP TheLeoP commented Feb 26, 2026

Should fix the failling test seen on https://github.com/nvim-mini/mini.nvim/actions/runs/22435966865/job/64965761703?pr=2284

The change in treesitter behavior seems to have been introduced by tree-sitter/tree-sitter#5317 . I'm still waiting for more information before opening an issue in https://github.com/tree-sitter/tree-sitter , but Clason's opinion is that this may have been an unintentional behavior previously and the current behavior is more in line with how alternations work

Copy link
Member

@echasnovski echasnovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is really valuable!

@echasnovski echasnovski merged commit a95dc67 into nvim-mini:main Feb 26, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants