helix/runtime/queries/typst/symbols.scm
cgahr c3a8bcf95f
typst: add symbols query (#12793)
Co-authored-by: Constantin Gahr <constantin.gahr@ipp.mpg.de>
2025-02-06 06:49:24 -06:00

6 lines
171 B
Scheme

; should be a heading
(heading (text) @definition.class)
; should be a label/reference/tag
(heading (label) @definition.function )
(content (label) @definition.function)