diff options
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | pygments/lexers/web.py | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -30,6 +30,7 @@ Version 1.7 * Chapel (PR#256) * Kal (PR#233) * Eiffel (PR#273) + * Cirru (PR#275) - New styles: "xcode" and "igor", similar to the default highlighting of the respective IDEs. diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py index f270684a..a387abad 100644 --- a/pygments/lexers/web.py +++ b/pygments/lexers/web.py @@ -4167,6 +4167,7 @@ class QmlLexer(RegexLexer): ] } + class CirruLexer(RegexLexer): """ Syntax rules of Cirru can be found at: @@ -4176,6 +4177,8 @@ class CirruLexer(RegexLexer): * using `""` to markup strings, allow `\` to escape * using `$` as a shorthand for `()` till indentation end or `)` * using indentations for create nesting + + *New in Pygments 1.7.* """ name = 'Cirru' @@ -4218,4 +4221,4 @@ class CirruLexer(RegexLexer): (r'^\s*', Text.Whitespace, ('line', 'function')), (r'^\s+$', Text.Whitespace), ] - }
\ No newline at end of file + } |