summaryrefslogtreecommitdiff
path: root/highlighting.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-07 15:56:37 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-07 15:56:37 +0200
commit8c524619ebba53110637206354287c3ed2093f9f (patch)
treec3267d1ab4c7f96ada9d4db4e6eaeeec90f437ca /highlighting.py
parent58109aaba427800d166b025f0d9a38ff60987e7f (diff)
downloadweb-8c524619ebba53110637206354287c3ed2093f9f.tar.gz
web-8c524619ebba53110637206354287c3ed2093f9f.tar.bz2
web-8c524619ebba53110637206354287c3ed2093f9f.zip
Development page
Diffstat (limited to 'highlighting.py')
-rw-r--r--highlighting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/highlighting.py b/highlighting.py
index 7b4fce4..f859920 100644
--- a/highlighting.py
+++ b/highlighting.py
@@ -5,7 +5,7 @@ from pygments.formatters import HtmlFormatter
formatter = HtmlFormatter(encoding = "utf-8", classprefix="pygm", nowrap=True)
-BashLexer.tokens["basic"].append((r'\b(emerge|layman)\s*\b(?!\.)', Name.Builtin))
+BashLexer.tokens["basic"].append((r'\b(emerge|layman|git(?!:))\s*\b(?!\.)', Name.Builtin))
def highlight(context, code, lang):
l = get_lexer_by_name(lang, encoding = "utf-8")