typoscript lexer should not have higher priority than typescript
This commit is contained in:
parent
62923d4ca0
commit
bd7c136606
2 changed files with 4 additions and 7 deletions
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
|
|
||||||
LANGUAGES = {
|
LANGUAGES = {
|
||||||
'typescript': 0.11,
|
'typescript': 0.01,
|
||||||
'perl': 0.1,
|
'perl': 0.01,
|
||||||
'perl6': 0.1,
|
'perl6': 0.01,
|
||||||
'f#': 0.1,
|
'f#': 0.01,
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,9 +113,6 @@ class TypoScriptLexer(RegexLexer):
|
||||||
|
|
||||||
flags = re.DOTALL | re.MULTILINE
|
flags = re.DOTALL | re.MULTILINE
|
||||||
|
|
||||||
# Slightly higher than TypeScript (which is 0).
|
|
||||||
priority = 0.1
|
|
||||||
|
|
||||||
tokens = {
|
tokens = {
|
||||||
'root': [
|
'root': [
|
||||||
include('comment'),
|
include('comment'),
|
||||||
|
|
Loading…
Reference in a new issue