queries: rust: highlight number constants correctly.

pull/11/head
Blaž Hrastnik 4 years ago
parent 71c06c11cb
commit 61872de6c0

@ -116,13 +116,15 @@
(self) @variable.builtin (self) @variable.builtin
(char_literal) @string [
(string_literal) @string (char_literal)
(raw_string_literal) @string (string_literal)
(raw_string_literal)
] @string
(boolean_literal) @constant.builtin (boolean_literal) @constant.builtin
(integer_literal) @constant.builtin (integer_literal) @number
(float_literal) @constant.builtin (float_literal) @number
(escape_sequence) @escape (escape_sequence) @escape

Loading…
Cancel
Save