summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queries/qmljs/highlights.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/queries/qmljs/highlights.scm b/queries/qmljs/highlights.scm
index f3b5524b..c1991030 100644
--- a/queries/qmljs/highlights.scm
+++ b/queries/qmljs/highlights.scm
@@ -72,7 +72,7 @@
;;; function
(call_expression
function: (member_expression
- object: (identifier) @variable
+ object: (identifier) @variable
property:(property_identifier) @function
)
)
@@ -119,7 +119,7 @@
(predefined_type) @type.builtin
((identifier) @type
- (#match? @type "^[A-Z]"))
+ (#match? @type "^[A-Z]"))
(type_arguments
"<" @punctuation.bracket
@@ -148,3 +148,7 @@
"override"
] @keyword
+[
+ (true)
+ (false)
+] @boolean