summaryrefslogtreecommitdiff
path: root/highlighting.py
diff options
context:
space:
mode:
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")