Fix missing C highlights

* "const" keyword
* booleans
* <=/>= operators
pull/3612/head
Michael Davis 2 years ago committed by Blaž Hrastnik
parent d7d9ca37e5
commit 00d88e540e

@ -21,6 +21,7 @@
"union" @keyword "union" @keyword
"volatile" @keyword "volatile" @keyword
"while" @keyword "while" @keyword
"const" @keyword
[ [
"#define" "#define"
@ -50,10 +51,14 @@
"==" @operator "==" @operator
">" @operator ">" @operator
"||" @operator "||" @operator
">=" @operator
"<=" @operator
"." @punctuation.delimiter "." @punctuation.delimiter
";" @punctuation.delimiter ";" @punctuation.delimiter
[(true) (false)] @constant.builtin.boolean
(enumerator) @type.enum.variant (enumerator) @type.enum.variant
(string_literal) @string (string_literal) @string

Loading…
Cancel
Save