| Age | Commit message (Collapse) | Author | Files |
|
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.
|
|
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()`.
|
|
|
|
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
|
Problem
treesitter select over-complicates visual selection.
Solution
make it use same visual selection logic as lsp.
|
|
|
|
Co-authored-by: György Andorka <gyorgy.andorka@protonmail.com>
|