neovim/test/functional/treesitter
Dmytro Soltys 72ed99319d fix(treesitter): don't invalidate parser when discovering injections
When parsing with a range, languagetree looks up injections and adds
them if needed. This explicitly invalidates parser, making `is_valid`
report `false` both when including and excluding children.

This is an attempt to describe desired behaviour of `is_valid` in tests,
with what ended up being a single line change to satisfy them.
2023-11-27 15:53:26 +01:00
..
fold_spec.lua fix(treesitter): make Visual hl work consistently with foldtext (#25484) 2023-10-03 13:07:03 +08:00
highlight_spec.lua fix(languagetree): don't treat unparsed nodes as occupying full range 2023-09-22 12:51:51 +01:00
language_spec.lua feat(treesitter)!: deprecate top level indexes to modules (#22761) 2023-03-24 14:43:14 +00:00
node_spec.lua fix(treesitter): fix another TSNode:tree() double free 2023-08-29 11:35:46 +02:00
parser_spec.lua fix(treesitter): don't invalidate parser when discovering injections 2023-11-27 15:53:26 +01:00
utils_spec.lua fix(treesitter): is_in_node_range (#22582) 2023-03-08 23:45:43 +00:00