mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Code formatting
This commit is contained in:
parent
128d4befd8
commit
8589ee2ccd
2 changed files with 20 additions and 17 deletions
|
|
@ -78,11 +78,14 @@ export const language = <ILanguage> {
|
|||
[':', { token: 'delimiter', bracket: '@open', next: '@identifier_until_period' }],
|
||||
|
||||
// identifiers and keywords
|
||||
[/[a-z_$][\w$]*/, { cases: {
|
||||
[/[a-z_$][\w$]*/, {
|
||||
cases: {
|
||||
'@operators': 'operator',
|
||||
'@typeKeywords': 'keyword.type',
|
||||
'@keywords': 'keyword',
|
||||
'@default': 'identifier' } }],
|
||||
'@default': 'identifier'
|
||||
}
|
||||
}],
|
||||
|
||||
// whitespace
|
||||
{ include: '@whitespace' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue