diff options
author | Georg Brandl <georg@python.org> | 2016-01-16 12:19:47 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2016-01-16 12:19:47 +0100 |
commit | ffe2b9cf787343862972b15ac6e4e95f09712034 (patch) | |
tree | 0bc1ebd70a871edadf713a98baa4b038d6734faf | |
parent | d32587600eacea392e5a75152d0c4bdb19fe2916 (diff) | |
download | pygments-ffe2b9cf787343862972b15ac6e4e95f09712034.tar.gz |
Closes #1191: fix overzealous analyse_text for LassoJS lexer.
-rw-r--r-- | pygments/lexers/templates.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py index 71055a9f..1f2322cc 100644 --- a/pygments/lexers/templates.py +++ b/pygments/lexers/templates.py @@ -1780,8 +1780,6 @@ class LassoJavascriptLexer(DelegatingLexer): def analyse_text(text): rv = LassoLexer.analyse_text(text) - 0.05 - if 'function' in text: - rv += 0.2 return rv |