mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04: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"
|
"revision": "43b221c0b76e77244efdaa9963e402a17c930fbc"
|
||||||
},
|
},
|
||||||
"typst": {
|
"typst": {
|
||||||
"revision": "baddc325e858afff90501dbefa00ecfa28528931"
|
"revision": "3c3e5f8e0caeba6157e26a1bedf8321e1da62799"
|
||||||
},
|
},
|
||||||
"udev": {
|
"udev": {
|
||||||
"revision": "caa721ff38704c1186c2afeb467bead8c27ea382"
|
"revision": "caa721ff38704c1186c2afeb467bead8c27ea382"
|
||||||
|
|
|
||||||
|
|
@ -72,24 +72,12 @@
|
||||||
|
|
||||||
(bool) @boolean
|
(bool) @boolean
|
||||||
|
|
||||||
; identifiers
|
|
||||||
(builtin) @module.builtin
|
|
||||||
|
|
||||||
(ident) @constant
|
(ident) @constant
|
||||||
|
|
||||||
; name-value pairs
|
; name-value pairs
|
||||||
(tagged
|
(tagged
|
||||||
field: (ident) @variable.member)
|
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
|
(call
|
||||||
item: (ident) @function.call)
|
item: (ident) @function.call)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue