Explorar o código

Highlight function definitions better (#79)

Highlight function definitions better
Alexandru Dima %!s(int64=5) %!d(string=hai) anos
pai
achega
d2577bf88c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/tcl/tcl.ts

+ 1 - 1
src/tcl/tcl.ts

@@ -153,7 +153,7 @@ export const language = <ILanguage>{
 		specialFunc: [
 			[/"/, {token: 'string', next: '@dstring'}],
 			[/'/, {token: 'string', next: '@sstring'}],
-			[/(?:(?:\:\:?)?[a-zA-Z_]\w*)+/, {token: 'type', next: '@pop'}],
+			[/\S+/, {token: 'type', next: '@pop'}],
 		]
 	}
 };