This commit is contained in:
Alex Dima 2021-05-11 19:42:54 +02:00
parent b60c47312b
commit 8989f44eb5
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
2 changed files with 13 additions and 0 deletions

View file

@ -577,5 +577,17 @@ testTokenization('css', [
{ startIndex: 8, type: 'delimiter.bracket.css' }
]
}
],
[
{
line: "@import 'https://example.com/test.css';",
tokens: [
{ startIndex: 0, type: 'keyword.css' },
{ startIndex: 7, type: '' },
{ startIndex: 8, type: 'string.css' },
{ startIndex: 38, type: 'delimiter.css' }
]
}
]
]);

View file

@ -113,6 +113,7 @@ export const language = <languages.IMonarchLanguage>{
{ include: '@functioninvocation' },
{ include: '@numbers' },
{ include: '@name' },
{ include: '@strings' },
['([<>=\\+\\-\\*\\/\\^\\|\\~,])', 'delimiter'],
[',', 'delimiter']
],