neovim/test/functional/treesitter
Jongwook Choi cf612c64b0
fix(treesitter): allow passing lang to vim.treesitter.get_node() now correctly takes opts.lang (#26360)
PROBLEM: `vim.treesitter.get_node()` does not recognize the `lang` in
the option table. This option was used in somewhere else, for instance,
`vim.treesitter.dev` (for `inspect_tree`) but was never implemented.

SOLUTION: Make `get_node()` correctly use `opts.lang` when getting a
treesitter parser.
2023-12-04 10:00:49 +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): allow passing lang to vim.treesitter.get_node() now correctly takes opts.lang (#26360) 2023-12-04 10:00:49 +01: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