queries: rust: highlight number constants correctly.

This commit is contained in:
Blaž Hrastnik 2021-04-08 23:25:54 +09:00
parent 71c06c11cb
commit 61872de6c0

View file

@ -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