diff options
author | Larry Price <larry@industrialintellect.com> | 2013-11-29 16:07:23 -0800 |
---|---|---|
committer | Larry Price <larry@industrialintellect.com> | 2013-11-29 16:07:23 -0800 |
commit | 7bc2bbecb6fd33066189a6a9b92945ac2ef192b6 (patch) | |
tree | f572f2324e16641f4cf95f962657d00d3296a8fe | |
parent | dd231b3e28ee31cf1b8049b0dbee1b34ba11f12f (diff) | |
download | pygments-7bc2bbecb6fd33066189a6a9b92945ac2ef192b6.tar.gz |
minor prgoress
-rw-r--r-- | pygments/lexers/cypher.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pygments/lexers/cypher.py b/pygments/lexers/cypher.py index ea92a6f8..fbd6a25e 100644 --- a/pygments/lexers/cypher.py +++ b/pygments/lexers/cypher.py @@ -42,8 +42,10 @@ class CypherLexer(RegexLexer): include('clauses'), include('relations') ], - 'comment': ["^.*//.*$"], - 'keywords': [], + 'comment': [(r'^.*//.*\n', Comment.Single)], + 'keywords': [( + r'' + )], 'clauses': [], 'relations': [] } |