mirror of https://github.com/helix-editor/helix
Fix missing C highlights
* "const" keyword * booleans * <=/>= operatorspull/3612/head
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…
Reference in New Issue