mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
4b90952851
**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). |
||
---|---|---|
.. | ||
fold_spec.lua | ||
highlight_spec.lua | ||
inspect_tree_spec.lua | ||
language_spec.lua | ||
node_spec.lua | ||
parser_spec.lua | ||
query_spec.lua | ||
utils_spec.lua |