mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Merge pull request #147 from nathanrreed/rustcharliteral
fix char literal highlighting #2481
This commit is contained in:
commit
781d21f954
1 changed files with 13 additions and 1 deletions
|
|
@ -38,7 +38,19 @@ testTokenization('rust', [
|
|||
]
|
||||
}
|
||||
],
|
||||
|
||||
[
|
||||
{
|
||||
line: "'\"'",
|
||||
tokens: [{ startIndex: 0, type: 'string.byteliteral.rust' }]
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
line: "'\0'",
|
||||
tokens: [{ startIndex: 0, type: 'string.byteliteral.rust' }]
|
||||
}
|
||||
],
|
||||
|
||||
// Comment
|
||||
[
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue