aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/queries/c/highlights.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/queries/c/highlights.scm b/runtime/queries/c/highlights.scm
index 1263cff6..647df05d 100644
--- a/runtime/queries/c/highlights.scm
+++ b/runtime/queries/c/highlights.scm
@@ -21,6 +21,7 @@
"union" @keyword
"volatile" @keyword
"while" @keyword
+"const" @keyword
[
"#define"
@@ -50,10 +51,14 @@
"==" @operator
">" @operator
"||" @operator
+">=" @operator
+"<=" @operator
"." @punctuation.delimiter
";" @punctuation.delimiter
+[(true) (false)] @constant.builtin.boolean
+
(enumerator) @type.enum.variant
(string_literal) @string