mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 05:20:00 -04:00
highlights(vala): fix captures
This commit is contained in:
parent
48a6fd29a1
commit
1ba1c5c1a7
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue