From 8c524619ebba53110637206354287c3ed2093f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Wed, 7 Apr 2010 15:56:37 +0200 Subject: Development page --- highlighting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'highlighting.py') 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") -- cgit v1.2.3