From 73cd1f189bf19e99af9b1349cdca590a40b985b0 Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Sat, 3 Sep 2022 09:45:57 +0800 Subject: feat(qmljs): boolean boolean is not in the right color, so fix it Log: fix the color of boolean for qmljs --- queries/qmljs/highlights.scm | 8 ++++++-- 1 file 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 -- cgit v1.2.3