fix(typst): adapt queries to breaking parser update

This commit is contained in:
Christian Clason 2024-02-28 19:52:01 +01:00
parent 15d521c923
commit c5b19f66e0
2 changed files with 1 additions and 13 deletions

View file

@ -720,7 +720,7 @@
"revision": "43b221c0b76e77244efdaa9963e402a17c930fbc"
},
"typst": {
"revision": "baddc325e858afff90501dbefa00ecfa28528931"
"revision": "3c3e5f8e0caeba6157e26a1bedf8321e1da62799"
},
"udev": {
"revision": "caa721ff38704c1186c2afeb467bead8c27ea382"

View file

@ -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)