diff options
| author | Georg Brandl <georg@python.org> | 2016-02-02 15:49:26 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2016-02-02 15:49:26 +0100 |
| commit | 754f32c6ded2d4b4e84674aa012d6ba78ffd5d50 (patch) | |
| tree | f401c1e93f2f8085e09dd397ff7ba57dc45e3388 | |
| parent | 9adde78a2923de2ecd6ce84c0046cd931fdc61f9 (diff) | |
| download | pygments-754f32c6ded2d4b4e84674aa012d6ba78ffd5d50.tar.gz | |
Remove typescript analyser function again.
| -rw-r--r-- | pygments/lexers/javascript.py | 4 | ||||
| -rw-r--r-- | tests/examplefiles/typescript_example (renamed from tests/examplefiles/example.ts) | 0 |
2 files changed, 0 insertions, 4 deletions
diff --git a/pygments/lexers/javascript.py b/pygments/lexers/javascript.py index 3ea0836e..2a01cd42 100644 --- a/pygments/lexers/javascript.py +++ b/pygments/lexers/javascript.py @@ -516,10 +516,6 @@ class TypeScriptLexer(RegexLexer): ] } - def analyse_text(text): - if '<INCLUDE_TYPOSCRIPT' not in text: - return 0.01 # rank about TypoScript lexer - class LassoLexer(RegexLexer): """ diff --git a/tests/examplefiles/example.ts b/tests/examplefiles/typescript_example index 760e2543..760e2543 100644 --- a/tests/examplefiles/example.ts +++ b/tests/examplefiles/typescript_example |
