mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
Auto merge of #15303 - oxalica:fix/byte-escape-highlight, r=lowr
Fix highlighting of byte escape sequences Currently non-UTF8 escape sequences in byte strings and any escape sequences in byte literals are ignored.
This commit is contained in:
commit
99718d0c8b
29 changed files with 143 additions and 47 deletions
|
|
@ -1804,12 +1804,16 @@
|
|||
},
|
||||
{
|
||||
"id": "escapeSequence",
|
||||
"description": "Style for char escapes in strings"
|
||||
"description": "Style for char or byte escapes in strings"
|
||||
},
|
||||
{
|
||||
"id": "formatSpecifier",
|
||||
"description": "Style for {} placeholders in format strings"
|
||||
},
|
||||
{
|
||||
"id": "invalidEscapeSequence",
|
||||
"description": "Style for invalid char or byte escapes in strings"
|
||||
},
|
||||
{
|
||||
"id": "label",
|
||||
"description": "Style for labels"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue