Skip to content

Commit

Permalink
Fix missing C highlights
Browse files Browse the repository at this point in the history
* "const" keyword
* booleans
* <=/>= operators
  • Loading branch information
the-mikedavis authored and archseer committed Aug 31, 2022
1 parent d7d9ca3 commit 00d88e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtime/queries/c/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"union" @keyword
"volatile" @keyword
"while" @keyword
"const" @keyword

[
"#define"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 00d88e5

Please sign in to comment.