typst: add symbols query (#12793)

Co-authored-by: Constantin Gahr <constantin.gahr@ipp.mpg.de>
This commit is contained in:
cgahr 2025-02-06 13:49:24 +01:00 committed by GitHub
parent b895ec491e
commit c3a8bcf95f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -220,7 +220,7 @@
| twig | ✓ | | | | |
| typescript | ✓ | ✓ | ✓ | | `typescript-language-server` |
| typespec | ✓ | ✓ | ✓ | | `tsp-server` |
| typst | ✓ | | | | `tinymist`, `typst-lsp` |
| typst | ✓ | | | | `tinymist`, `typst-lsp` |
| ungrammar | ✓ | | | | |
| unison | ✓ | ✓ | ✓ | | |
| uxntal | ✓ | | | | |

View file

@ -0,0 +1,6 @@
; should be a heading
(heading (text) @definition.class)
; should be a label/reference/tag
(heading (label) @definition.function )
(content (label) @definition.function)