aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2025-03-14 16:10:53 -0700
committerChristian Clason <ch.clason+github@icloud.com>2025-03-15 13:57:13 +0100
commit99ea6c5d4389a3278769eb6abb7b3ebefb7d9f2a (patch)
treef140b90655b2f2c4afc585428a1395c1fb6061ee /queries
parentbot(lockfile): update swift (diff)
downloadnvim-treesitter-99ea6c5d4389a3278769eb6abb7b3ebefb7d9f2a.tar
nvim-treesitter-99ea6c5d4389a3278769eb6abb7b3ebefb7d9f2a.tar.gz
nvim-treesitter-99ea6c5d4389a3278769eb6abb7b3ebefb7d9f2a.tar.bz2
nvim-treesitter-99ea6c5d4389a3278769eb6abb7b3ebefb7d9f2a.tar.lz
nvim-treesitter-99ea6c5d4389a3278769eb6abb7b3ebefb7d9f2a.tar.xz
nvim-treesitter-99ea6c5d4389a3278769eb6abb7b3ebefb7d9f2a.tar.zst
nvim-treesitter-99ea6c5d4389a3278769eb6abb7b3ebefb7d9f2a.zip
feat(typst): highlight language name as @label
Diffstat (limited to 'queries')
-rw-r--r--queries/typst/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/typst/highlights.scm b/queries/typst/highlights.scm
index e23588421..a0dcc1b89 100644
--- a/queries/typst/highlights.scm
+++ b/queries/typst/highlights.scm
@@ -114,6 +114,9 @@
(raw_blck) @markup.raw
(raw_blck
+ lang: (ident) @label)
+
+(raw_blck
(blob) @markup.raw.block)
; refs and labels