give TypeScript higher priority than TypoScript

This commit is contained in:
Alan Hamlett 2017-02-20 13:22:14 -08:00
parent fad721530a
commit 4ea96210f8
5 changed files with 51 additions and 35 deletions

View file

@ -450,6 +450,7 @@ class TypeScriptLexer(RegexLexer):
aliases = ['ts', 'typescript']
filenames = ['*.ts', '*.tsx']
mimetypes = ['text/x-typescript']
priority = 0.11
flags = re.DOTALL | re.MULTILINE