Highlight dataspec changes

This commit is contained in:
str4d
2013-12-12 04:46:14 +00:00
parent f045b3dfc6
commit b934971e43
5 changed files with 27 additions and 18 deletions

View File

@@ -29,7 +29,9 @@ class DataSpecLexer(RegexLexer):
(r'(-*)(//)(-+\+-)', bygroups(Text, Generic.Strong, Text)),
],
'content': [
(r'(\s*)(\+-)', bygroups(Text, Text), '#pop', 'boundary'),
(r'(\s*)([\+|])$', bygroups(Text, Text), '#pop'),
(r'(\s*)(\.\.\.)(\s)', bygroups(Text, Generic.Strong, Text)),
(r'(\s*)(\.\.\.)$', bygroups(Text, Generic.Strong), '#pop'),
(r'(\s*)(~)$', bygroups(Text, Generic.Strong), '#pop'),
(r'(\s*)([\w=;]+)$', bygroups(Text, Name.Tag), '#pop'),