queries: Update janet

This commit is contained in:
Blaž Hrastnik 2024-05-20 03:59:25 +09:00
parent aad5f6a5e2
commit c6645d4d8f

View File

@ -10,12 +10,15 @@
(num_lit) @constant.numeric (num_lit) @constant.numeric
[(bool_lit) (nil_lit)] @constant.builtin (bool_lit) @constant.builtin.boolean
(nil_lit) @constant.builtin
(comment) @comment (comment) @comment
((sym_lit) @variable (sym_lit) @variable
(#match? @variable "^\\*.+\\*$"))
((sym_lit) @variable.builtin
(#match? @variable.builtin "^\\*.+\\*$"))
(short_fn_lit (short_fn_lit
. .
@ -57,8 +60,6 @@
. .
(sym_lit) @function) (sym_lit) @function)
(sym_lit) @variable
["{" "@{" "}" ["{" "@{" "}"
"[" "@[" "]" "[" "@[" "]"
"(" "@(" ")"] @punctuation.bracket "(" "@(" ")"] @punctuation.bracket