From 741a3f66db14c0ffe9d41f2df353cd237ff35ee4 Mon Sep 17 00:00:00 2001 From: may Date: Thu, 5 Feb 2026 18:06:41 +0100 Subject: [PATCH] fix(highlights/codeql): fix boolean highlighting --- runtime/queries/codeql/highlights.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/runtime/queries/codeql/highlights.scm b/runtime/queries/codeql/highlights.scm index aed7b538..c3944e80 100644 --- a/runtime/queries/codeql/highlights.scm +++ b/runtime/queries/codeql/highlights.scm @@ -37,13 +37,11 @@ "then" "where" - (false) (predicate) (result) (specialId) (super) (this) - (true) ] @keyword [ @@ -92,6 +90,11 @@ (integer) @constant.numeric.integer (float) @constant.numeric.float +[ + (false) + (true) +] @constant.builtin.boolean + (string) @string (aritylessPredicateExpr (literalId) @function) -- 2.51.2