aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/vala/highlights.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/queries/vala/highlights.scm b/queries/vala/highlights.scm
index 3d4b1be8a..371873977 100644
--- a/queries/vala/highlights.scm
+++ b/queries/vala/highlights.scm
@@ -28,13 +28,10 @@
"}"
"("
")"
- "["
- "]"
] @punctuation.bracket
[
";"
- ":"
"."
","
"->"
@@ -74,6 +71,10 @@
"owned"
"throws"
"delete"
+ "#if"
+ "#elif"
+ (preproc_else)
+ (preproc_endif)
] @keyword
"throw" @exception
@@ -128,7 +129,6 @@
"&="
"^="
"??"
- "="
] @operator
)
@@ -206,7 +206,7 @@
)
(class_constructor_definition
- [
+ name: [
(_)
(namespaced_identifier (_) @constructor .)
] @constructor
@@ -229,6 +229,7 @@
; Strings and escape sequences
(string_literal) @string
+(verbatim) @string
(escape_sequence) @string.escape
(string_template