aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorMichael Davis2022-08-12 18:16:33 +0000
committerBlaž Hrastnik2022-08-31 08:46:34 +0000
commit00d88e540e66b6371428c8c3b7e906ba2cac02e1 (patch)
tree9841e529491769be02cd0076fffe1689ac04b27f /runtime/queries
parentd7d9ca37e51df484bfdf118295a52f27b465b362 (diff)
Fix missing C highlights
* "const" keyword * booleans * <=/>= operators
Diffstat (limited to 'runtime/queries')
-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