mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
fix(typst): adapt queries to breaking parser update
This commit is contained in:
parent
15d521c923
commit
c5b19f66e0
2 changed files with 1 additions and 13 deletions
|
@ -720,7 +720,7 @@
|
|||
"revision": "43b221c0b76e77244efdaa9963e402a17c930fbc"
|
||||
},
|
||||
"typst": {
|
||||
"revision": "baddc325e858afff90501dbefa00ecfa28528931"
|
||||
"revision": "3c3e5f8e0caeba6157e26a1bedf8321e1da62799"
|
||||
},
|
||||
"udev": {
|
||||
"revision": "caa721ff38704c1186c2afeb467bead8c27ea382"
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue