Merge branch 'main' into samstrohkorbatt/python-fstring

This commit is contained in:
samstrohkorbatt 2024-04-01 14:27:04 -06:00 committed by GitHub
commit ac2c7a1add
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 21 additions and 29 deletions

View file

@ -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: [