Improve Vala syntax highlight

This commit is contained in:
Mateus Melchiades 2022-02-11 13:18:16 -03:00 committed by Stephan Seitz
parent 391bdccdf0
commit ad1bc3577c

View file

@ -28,13 +28,10 @@
"}" "}"
"(" "("
")" ")"
"["
"]"
] @punctuation.bracket ] @punctuation.bracket
[ [
";" ";"
":"
"." "."
"," ","
"->" "->"
@ -74,6 +71,10 @@
"owned" "owned"
"throws" "throws"
"delete" "delete"
"#if"
"#elif"
(preproc_else)
(preproc_endif)
] @keyword ] @keyword
"throw" @exception "throw" @exception
@ -128,7 +129,6 @@
"&=" "&="
"^=" "^="
"??" "??"
"="
] @operator ] @operator
) )
@ -206,7 +206,7 @@
) )
(class_constructor_definition (class_constructor_definition
[ name: [
(_) (_)
(namespaced_identifier (_) @constructor .) (namespaced_identifier (_) @constructor .)
] @constructor ] @constructor
@ -229,6 +229,7 @@
; Strings and escape sequences ; Strings and escape sequences
(string_literal) @string (string_literal) @string
(verbatim) @string
(escape_sequence) @string.escape (escape_sequence) @string.escape
(string_template (string_template