neovim/test/functional/treesitter
Riley Bruins c63e49cce2
fix(treesitter): #trim! range for nodes ending at col 0 #31488
Problem:
char-wise folding for `#trim!` ranges are improperly calculated for nodes that
end at column 0, due to the way `get_node_text` works.

Solution:
Add the blank line that `get_node_text` removes for for nodes ending at column
0. Also properly set column positions when performing linewise trims.
2024-12-07 03:01:59 -08:00
..
fold_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
highlight_spec.lua test(screen): adjust screen state per stylua #31441 2024-12-04 07:31:08 -08:00
inspect_tree_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
language_spec.lua fix(treesitter): mark supertype nodes as named 2024-10-12 09:59:44 +02:00
node_spec.lua feat(treesitter): introduce child_with_descendant() 2024-10-11 17:29:45 +02:00
parser_spec.lua fix(treesitter): #trim! range for nodes ending at col 0 #31488 2024-12-07 03:01:59 -08:00
query_spec.lua fix(treesitter): show proper node name error messages 2024-11-13 13:32:58 +01:00
testutil.lua test(treesitter): add a simple testutil file 2024-12-06 08:36:28 -08:00
utils_spec.lua perf(treesitter): use child_containing_descendant() in is_ancestor() 2024-09-25 23:01:08 +02:00