Highlight function definitions better (#79)

Highlight function definitions better
pull/2748/head
Alexandru Dima 5 years ago committed by GitHub
commit d2577bf88c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save