From 45872df75cfcb8a1d8bfe88392280dc6abd99f41 Mon Sep 17 00:00:00 2001 From: nojhan Date: Sat, 23 Mar 2013 18:12:31 +0100 Subject: [PATCH] Use pygments in the g++ theme --- colout_g++.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/colout_g++.py b/colout_g++.py index 11d79ae..ad4daf2 100644 --- a/colout_g++.py +++ b/colout_g++.py @@ -1,4 +1,3 @@ -#encoding: utf-8 import colout def theme( item ): item = colout.colorup( item, "error", "red", "bold" ) @@ -7,7 +6,7 @@ def theme( item ): item = colout.colorup( item, "note", "blue", "bold" ) item = colout.colorup( item, ":([0-9]+):[0-9]*", "yellow", "normal" ) item = colout.colorup( item, "^((/\w+)+)\.(h|cpp)", "white", "normal" ) - item = colout.colorup( item, "'(.*)'", "blue", "normal" ) + item = colout.colorup( item, "'(.*)'", "Cpp", "monokai" ) return item