summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/treesitter/select_spec.lua
AgeCommit message (Collapse)AuthorFiles
2026-04-22feat(treesitter): expand selection to sibling node #38938altermo1
Problem: Can't expand treesitter-incremental-selection to the next and previous sibling nodes. Solution: Pressing `]N` in visual mode will expand the selection to the next sibling node, and `[N` will do the same with the previous node.
2026-04-16fix(treesitter): TSNode:id() with NUL byte causes unreliable select() #39134altermo1
Problem: `TSNode:id()` returns the underlying c pointer as a string, which may include NUL bytes. In PUC Lua, `('%s'):format('\0a\0')` returns `''` and not `'\0a\0'` (i.e. treats the string as a c-string (which terminates at the NUL byte)). This resulted in two different nodes being able to have the same id. Solution: Use concatenation `..` instead of `string.format()`.
2026-03-31fix(treesitter): select with node ending with unicode char (#38557)altermo1
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2026-03-20test(treesitter): skip unreliable select test #38391altermo1
The test sometimes(around 1/30) fails on PUC-lua.
2026-03-11docs: api, messages, lsp, trustJustin M. Keyes1
gen_vimdoc.lua: In prepare for the upcoming release, comment-out the "Experimental" warning for prerelease features.
2026-03-08feat(treesitter): incremental selectionaltermo1
Co-authored-by: György Andorka <gyorgy.andorka@protonmail.com>