diff options
-rw-r--r-- | pygments/lexers/cypher.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pygments/lexers/cypher.py b/pygments/lexers/cypher.py index f996e02b..fb3f4319 100644 --- a/pygments/lexers/cypher.py +++ b/pygments/lexers/cypher.py @@ -35,7 +35,7 @@ class CypherLexer(RegexLexer): aliases = ['cypher'] filenames = ['*.cyp','*.cypher'] flags = re.MULTILINE | re.IGNORECASE - + tokens = { 'root': [ include('comment'), @@ -50,7 +50,7 @@ class CypherLexer(RegexLexer): r'|foreach|not| by ', Keyword)], 'clauses': [(r' all | any | as | asc |create|create unique|delete|' r'desc |distinct|foreach| in |is null|limit|match|none|' - r'order by|return|set|skip|single|start|union|where|with', + r'order by|return|set|skip|single|start|union|where|with', Keyword)], 'relations': [(r'-->|-\[.*\]->|<-\[.*\]-|<--|\[|\]', Operator), (r'<|>|<>|=|<=|=>|\(|\)|\||:|,|;', Punctuation)], @@ -58,5 +58,3 @@ class CypherLexer(RegexLexer): } - - |