mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +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,6 +38,18 @@ testTokenization('rust', [
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
line: "'\"'",
|
||||||
|
tokens: [{ startIndex: 0, type: 'string.byteliteral.rust' }]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
line: "'\0'",
|
||||||
|
tokens: [{ startIndex: 0, type: 'string.byteliteral.rust' }]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
// Comment
|
// Comment
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue