summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfleischwolf <wolf.mayr@yahoo.de>2016-01-02 18:55:54 +0000
committerfleischwolf <wolf.mayr@yahoo.de>2016-01-02 18:55:54 +0000
commit25100648aaaf26a89c1ad5e1f346762bcea5dc25 (patch)
tree385e1ee69b4d7255bd3716734c973095bdbef9aa
parentc3b1f1ee15846dbef2609b8666cda2995ad38510 (diff)
downloadpygments-25100648aaaf26a89c1ad5e1f346762bcea5dc25.tar.gz
templates.py edited online with Bitbucket
-rw-r--r--pygments/lexers/templates.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py
index 097e2ef2..eeafd2fc 100644
--- a/pygments/lexers/templates.py
+++ b/pygments/lexers/templates.py
@@ -2178,9 +2178,10 @@ class TwigHtmlLexer(DelegatingLexer):
class Angular2Lexer(RegexLexer):
"""
- Generic `angular <http://handlebarsjs.com/>` template lexer.
+ Generic `angular2 <link missing>` template lexer.
- Highlights only the Angular template tags (stuff between `{{` and `}}`).
+ Highlights only the Angular template tags (stuff between `{{` and `}}` and
+ special attributes: '(event)=', '[property]=', '[(twoWayBinding)]=').
Everything else is left for a delegating lexer.
.. versionadded:: 2.0