mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Merge branch 'main' into samstrohkorbatt/python-fstring
This commit is contained in:
commit
ac2c7a1add
6 changed files with 21 additions and 29 deletions
|
|
@ -378,21 +378,9 @@ export const language = <languages.IMonarchLanguage>{
|
|||
],
|
||||
|
||||
raw: [
|
||||
[
|
||||
/(.*)(\))(?:([^ ()\\\t"]*))(\")/,
|
||||
{
|
||||
cases: {
|
||||
'$3==$S2': [
|
||||
'string.raw',
|
||||
'string.raw.end',
|
||||
'string.raw.end',
|
||||
{ token: 'string.raw.end', next: '@pop' }
|
||||
],
|
||||
'@default': ['string.raw', 'string.raw', 'string.raw', 'string.raw']
|
||||
}
|
||||
}
|
||||
],
|
||||
[/.*/, 'string.raw']
|
||||
[/[^)]+/, 'string.raw'],
|
||||
[/\)$S2\"/, { token: 'string.raw.end', next: '@pop' }],
|
||||
[/\)/, 'string.raw']
|
||||
],
|
||||
|
||||
annotation: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue