Assume identifiers starting with upper case are type names

This commit is contained in:
Alex Dima 2018-08-10 15:43:12 +02:00
parent d2c6f44a77
commit 159af65cc5

View file

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