mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Assume identifiers starting with upper case are type names
This commit is contained in:
parent
d2c6f44a77
commit
159af65cc5
1 changed files with 2 additions and 2 deletions
|
|
@ -120,8 +120,8 @@ export const language = {
|
|||
'@default': 'identifier'
|
||||
}
|
||||
}],
|
||||
// [/[A-Z][\w\$]*/, 'type.identifier' ], // to show class names nicely
|
||||
[/[A-Z][\w\$]*/, 'identifier'],
|
||||
[/[A-Z][\w\$]*/, 'type.identifier' ], // to show class names nicely
|
||||
// [/[A-Z][\w\$]*/, 'identifier'],
|
||||
|
||||
// whitespace
|
||||
{ include: '@whitespace' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue