queries: rust: highlight number constants correctly.
This commit is contained in:
parent
71c06c11cb
commit
61872de6c0
1 changed files with 7 additions and 5 deletions
|
@ -116,13 +116,15 @@
|
|||
|
||||
(self) @variable.builtin
|
||||
|
||||
(char_literal) @string
|
||||
(string_literal) @string
|
||||
(raw_string_literal) @string
|
||||
[
|
||||
(char_literal)
|
||||
(string_literal)
|
||||
(raw_string_literal)
|
||||
] @string
|
||||
|
||||
(boolean_literal) @constant.builtin
|
||||
(integer_literal) @constant.builtin
|
||||
(float_literal) @constant.builtin
|
||||
(integer_literal) @number
|
||||
(float_literal) @number
|
||||
|
||||
(escape_sequence) @escape
|
||||
|
||||
|
|
Loading…
Reference in a new issue