mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
This commit is contained in:
parent
b60c47312b
commit
8989f44eb5
2 changed files with 13 additions and 0 deletions
|
|
@ -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' }
|
||||
]
|
||||
}
|
||||
]
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ export const language = <languages.IMonarchLanguage>{
|
|||
{ include: '@functioninvocation' },
|
||||
{ include: '@numbers' },
|
||||
{ include: '@name' },
|
||||
{ include: '@strings' },
|
||||
['([<>=\\+\\-\\*\\/\\^\\|\\~,])', 'delimiter'],
|
||||
[',', 'delimiter']
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue