typoscript lexer should not have higher priority than typescript

This commit is contained in:
Alan Hamlett 2017-03-04 13:53:56 -08:00
parent 62923d4ca0
commit bd7c136606
2 changed files with 4 additions and 7 deletions

View File

@ -11,8 +11,8 @@
LANGUAGES = {
'typescript': 0.11,
'perl': 0.1,
'perl6': 0.1,
'f#': 0.1,
'typescript': 0.01,
'perl': 0.01,
'perl6': 0.01,
'f#': 0.01,
}

View File

@ -113,9 +113,6 @@ class TypoScriptLexer(RegexLexer):
flags = re.DOTALL | re.MULTILINE
# Slightly higher than TypeScript (which is 0).
priority = 0.1
tokens = {
'root': [
include('comment'),