neovim/test/functional/treesitter
Riley Bruins 4b90952851 fix(treesitter): mark supertype nodes as named
**Problem:** Tree-sitter 0.24.0 introduced a new symbol type to denote
supertype nodes (`TSSymbolTypeSupertype`). Now, `language.inspect()`
(and the query `omnifunc`) return supertype symbols, but with double
quotes around them.

**Solution:** Mark a symbol as "named" based on it *not* being an
anonymous node, rather than checking that it is a regular node (which a
supertype also is not).
2024-10-12 09:59:44 +02:00
..
fold_spec.lua test: allow exec_lua to handle functions 2024-08-02 19:04:37 +01:00
highlight_spec.lua feat(defaults): pretty :help headings #30544 2024-09-27 08:53:30 -07: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): remove duplicate symbol names in language.inspect() 2024-10-11 18:15:07 +02:00
query_spec.lua feat(treesitter): introduce child_with_descendant() 2024-10-11 17:29:45 +02:00
utils_spec.lua perf(treesitter): use child_containing_descendant() in is_ancestor() 2024-09-25 23:01:08 +02:00