@@ -1,10 +1,7 @@
5−] @string
2+(string_literal) @string
7−(string
4+(prefixed_string_literal
8 prefix: (identifier) @constant.builtin)
5 prefix: (identifier) @constant.builtin)
10(macro_identifier) @function.macro
7(macro_identifier) @function.macro
@@ -80,7 +77,9 @@
80(struct_definition
77(struct_definition
81 name: (identifier) @type)
78 name: (identifier) @type)
83−(number) @constant.numeric.integer
80+(integer_literal) @constant.numeric.integer
81+(float_literal) @constant.numeric.float
84(range_expression
83(range_expression
85 (identifier) @constant.numeric.integer
84 (identifier) @constant.numeric.integer
86 (eq? @constant.numeric.integer "end"))
85 (eq? @constant.numeric.integer "end"))
@@ -89,7 +88,10 @@
89 (identifier) @constant.numeric.integer
88 (identifier) @constant.numeric.integer
90 (eq? @constant.numeric.integer "end")))
89 (eq? @constant.numeric.integer "end")))
91(coefficient_expression
90(coefficient_expression
93 (identifier) @constant.builtin)
95 (identifier) @constant.builtin)
95;; TODO: operators.
97;; TODO: operators.
@@ -117,7 +119,10 @@
118(function_definition ["function" "end"] @keyword.function)
120(function_definition ["function" "end"] @keyword.function)
120−(comment) @comment
125+] @comment
@@ -171,7 +176,7 @@
171(((identifier) @constant.builtin.boolean) (#eq? @constant.builtin.boolean "false"))
176(((identifier) @constant.builtin.boolean) (#eq? @constant.builtin.boolean "false"))
174−["::" ":" "." "," "..." "!"] @punctuation.delimiter
179+["::" ":" "." "," "..."] @punctuation.delimiter
175["[" "]" "(" ")" "{" "}"] @punctuation.bracket
180["[" "]" "(" ")" "{" "}"] @punctuation.bracket
177["="] @operator
182["="] @operator