diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-10-11 15:07:36 -0700 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-10-12 09:59:44 +0200 |
| commit | 4b909528516032b002a4a32f3e06f0eb6185ea6b (patch) | |
| tree | 103703d0316d478b7ea69f1491079f22706bbfc7 /test/unit/viml/expressions/lexer_spec.lua | |
| parent | 45f8f957c05ca18ea86b8b6bb6c0a903c9140b7b (diff) | |
| download | rneovim-4b909528516032b002a4a32f3e06f0eb6185ea6b.tar.gz rneovim-4b909528516032b002a4a32f3e06f0eb6185ea6b.tar.bz2 rneovim-4b909528516032b002a4a32f3e06f0eb6185ea6b.zip | |
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).
Diffstat (limited to 'test/unit/viml/expressions/lexer_spec.lua')
0 files changed, 0 insertions, 0 deletions
