Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Highlight function definitions better (#79)
Browse files Browse the repository at this point in the history
Highlight function definitions better
  • Loading branch information
alexdima committed Jan 28, 2020
2 parents 48bed98 + ff60b4a commit d2577bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcl/tcl.ts
Expand Up @@ -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'}],
]
}
};

0 comments on commit d2577bf

Please sign in to comment.