summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Price <larry@industrialintellect.com>2013-11-29 16:07:23 -0800
committerLarry Price <larry@industrialintellect.com>2013-11-29 16:07:23 -0800
commit7bc2bbecb6fd33066189a6a9b92945ac2ef192b6 (patch)
treef572f2324e16641f4cf95f962657d00d3296a8fe
parentdd231b3e28ee31cf1b8049b0dbee1b34ba11f12f (diff)
downloadpygments-7bc2bbecb6fd33066189a6a9b92945ac2ef192b6.tar.gz
minor prgoress
-rw-r--r--pygments/lexers/cypher.py6
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': []
}