aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lockfile.json2
-rw-r--r--queries/typst/highlights.scm12
2 files changed, 1 insertions, 13 deletions
diff --git a/lockfile.json b/lockfile.json
index ce6aa9a08..adcb568e4 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -720,7 +720,7 @@
"revision": "43b221c0b76e77244efdaa9963e402a17c930fbc"
},
"typst": {
- "revision": "baddc325e858afff90501dbefa00ecfa28528931"
+ "revision": "3c3e5f8e0caeba6157e26a1bedf8321e1da62799"
},
"udev": {
"revision": "caa721ff38704c1186c2afeb467bead8c27ea382"
diff --git a/queries/typst/highlights.scm b/queries/typst/highlights.scm
index a1a118eda..e36105413 100644
--- a/queries/typst/highlights.scm
+++ b/queries/typst/highlights.scm
@@ -72,24 +72,12 @@
(bool) @boolean
-; identifiers
-(builtin) @module.builtin
-
(ident) @constant
; name-value pairs
(tagged
field: (ident) @variable.member)
-; function definitions, calls, etc.
-; TODO: support for functions such as #calc.cos, tree view appears as
-; (call)
-; item: (field)
-; (builtin)
-; field: (ident)
-(call
- item: (builtin) @function.builtin)
-
(call
item: (ident) @function.call)