mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 10:57:48 +03:00
typst: add symbols query (#12793)
Co-authored-by: Constantin Gahr <constantin.gahr@ipp.mpg.de>
This commit is contained in:
parent
b895ec491e
commit
c3a8bcf95f
2 changed files with 7 additions and 1 deletions
|
@ -220,7 +220,7 @@
|
|||
| twig | ✓ | | | | |
|
||||
| typescript | ✓ | ✓ | ✓ | | `typescript-language-server` |
|
||||
| typespec | ✓ | ✓ | ✓ | | `tsp-server` |
|
||||
| typst | ✓ | | | | `tinymist`, `typst-lsp` |
|
||||
| typst | ✓ | | | ✓ | `tinymist`, `typst-lsp` |
|
||||
| ungrammar | ✓ | | | | |
|
||||
| unison | ✓ | ✓ | ✓ | | |
|
||||
| uxntal | ✓ | | | | |
|
||||
|
|
6
runtime/queries/typst/symbols.scm
Normal file
6
runtime/queries/typst/symbols.scm
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue