Ver código fonte

Assume identifiers starting with upper case are type names

Alex Dima 7 anos atrás
pai
commit
159af65cc5
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/typescript/typescript.ts

+ 2 - 2
src/typescript/typescript.ts

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