mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 03:47:51 +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
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