Code formatting

This commit is contained in:
Alex Dima 2020-02-26 18:19:32 +01:00
parent 128d4befd8
commit 8589ee2ccd
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
2 changed files with 20 additions and 17 deletions

View file

@ -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' },