summaryrefslogtreecommitdiff
path: root/runtime/queries/typst/highlights.scm
diff options
context:
space:
mode:
authorIdobenhamo2024-01-23 17:27:46 +0000
committerGitHub2024-01-23 17:27:46 +0000
commit299bcce481abe7e13f2023ec6e82c59b43f12f47 (patch)
treed7e8e446f80ae0d4f6f1e7ad9f01cb332ad2d470 /runtime/queries/typst/highlights.scm
parent2058b3732c340f5bc29eee2aca1d8edae15e1314 (diff)
Update Typst Tree-Sitter grammar (#9403)
Co-authored-by: Idobenhamo <idobenhamo@users.noreply.github.com>
Diffstat (limited to 'runtime/queries/typst/highlights.scm')
-rw-r--r--runtime/queries/typst/highlights.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/queries/typst/highlights.scm b/runtime/queries/typst/highlights.scm
index b422e05b..0bbccede 100644
--- a/runtime/queries/typst/highlights.scm
+++ b/runtime/queries/typst/highlights.scm
@@ -55,7 +55,12 @@
; MARKUP
(item "-" @markup.list)
(term ["/" ":"] @markup.list)
-(heading ["=" "==" "===" "====" "====="] @markup.heading.marker) @markup.heading
+(heading "=" @markup.heading.marker) @markup.heading.1
+(heading "==" @markup.heading.marker) @markup.heading.2
+(heading "===" @markup.heading.marker) @markup.heading.3
+(heading "====" @markup.heading.marker) @markup.heading.4
+(heading "=====" @markup.heading.marker) @markup.heading.5
+(heading "======" @markup.heading.marker) @markup.heading.6
(url) @tag
(emph) @markup.italic
(strong) @markup.bold