From ffe2b9cf787343862972b15ac6e4e95f09712034 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 16 Jan 2016 12:19:47 +0100 Subject: Closes #1191: fix overzealous analyse_text for LassoJS lexer. --- pygments/lexers/templates.py | 2 -- 1 file changed, 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 -- cgit v1.2.1