Alex Dima 4 years ago
parent b60c47312b
commit 8989f44eb5
No known key found for this signature in database
GPG Key ID: 6E58D7B045760DA0

@ -577,5 +577,17 @@ testTokenization('css', [
{ startIndex: 8, type: 'delimiter.bracket.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' }
]
}
] ]
]); ]);

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

Loading…
Cancel
Save