Unnamed repository; edit this file 'description' to name the repository.
fix(highlights/codeql): fix boolean highlighting
may 2 months ago
parent 1ffde37 · commit 741a3f6
-rw-r--r--runtime/queries/codeql/highlights.scm7
1 files 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)