diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/queries/rust/highlights.scm | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index 196d483c..71ef17ab 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -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 |