highlights(vala): fix captures

This commit is contained in:
ObserverOfTime 2022-10-22 12:24:11 +03:00
parent 48a6fd29a1
commit 1ba1c5c1a7

View file

@ -51,7 +51,7 @@
; highlight macros
(
(method_call_expression (member_access_expression (identifier) @function.macro))
(#match? @function.macro "^assert[A-Za-z_0-9]*$" "error" "info" "debug" "print" "warning" "warning_once")
(#match? @function.macro "^assert[A-Za-z_0-9]*|error|info|debug|print|warning|warning_once$")
)
(lambda_expression (identifier) @parameter)
(parameter (identifier) @parameter)
@ -64,7 +64,7 @@
] @constant.builtin
(boolean) @boolean
(character) @character
(escape_sequence) @character.special
(escape_sequence) @string.escape
(integer) @number
(null) @constant.builtin
(real) @float