Use pygments in the g++ theme

This commit is contained in:
Johann Dreo 2013-03-23 18:12:31 +01:00
commit 45872df75c

View file

@ -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