|
|
@ -1,21 +1,19 @@
|
|
|
|
; Literals
|
|
|
|
|
|
|
|
;------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(string) @string
|
|
|
|
|
|
|
|
(boolean) @constant.builtin.boolean
|
|
|
|
|
|
|
|
(integer) @constant.numeric.integer
|
|
|
|
|
|
|
|
(float) @constant.numeric.float
|
|
|
|
|
|
|
|
(char) @constant.character
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Structs
|
|
|
|
; Structs
|
|
|
|
;------------
|
|
|
|
;------------
|
|
|
|
|
|
|
|
|
|
|
|
(enum_variant) @type.enum.variant
|
|
|
|
(enum_variant) @type.enum.variant
|
|
|
|
(struct_entry (_) @variable.other.member ":")
|
|
|
|
(struct_entry (_) @variable.other.member ":")
|
|
|
|
(struct_name (identifier)) @type
|
|
|
|
(struct_name (identifier)) @type
|
|
|
|
|
|
|
|
(unit_struct) @type.builtin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; Literals
|
|
|
|
|
|
|
|
;------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(string) @string
|
|
|
|
|
|
|
|
(boolean) @constant.builtin.boolean
|
|
|
|
|
|
|
|
(integer) @constant.numeric.integer
|
|
|
|
|
|
|
|
(float) @constant.numeric.float
|
|
|
|
|
|
|
|
(char) @constant.character
|
|
|
|
|
|
|
|
|
|
|
|
; Comments
|
|
|
|
; Comments
|
|
|
|
;------------
|
|
|
|
;------------
|
|
|
@ -37,6 +35,7 @@
|
|
|
|
"{" @punctuation.bracket
|
|
|
|
"{" @punctuation.bracket
|
|
|
|
"}" @punctuation.bracket
|
|
|
|
"}" @punctuation.bracket
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"-" @operator
|
|
|
|
|
|
|
|
|
|
|
|
; Special
|
|
|
|
; Special
|
|
|
|
;------------
|
|
|
|
;------------
|
|
|
|