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:
bors 2023-07-22 20:25:40 +00:00
commit 99718d0c8b
29 changed files with 143 additions and 47 deletions

View file

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