Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Commit

Permalink
Fix syntax highlight of nodes and rels
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolewhite committed Jan 29, 2016
1 parent 18f1d95 commit 90ec333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cycli/lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class CypherLexer(RegexLexer):
(r"'(''|[^'])*'", String.Single),
(r'"(""|[^"])*"', String.Symbol),
(r'[a-zA-Z_][a-zA-Z0-9_]*', Name),
(r'[-\)\]]-[>\(]|[<\)]-[-\(\[]|[\]\)]-|-[\(\[]|-->|<--|\]-|-\[|\)<-\[', Token.Pattern),
(r'[\]\)]-[\(\[]|[\]\)]->\(|\)<-[\[\(]|[\)\]]-->\(|\)<--[\(\[]|[\)\]]--[\(\[]', Token.Pattern),
(r'\.', Token.Pattern),
(r'\(|\)|\]|\[|{|}', Token.Pattern)
]
Expand Down

0 comments on commit 90ec333

Please sign in to comment.