Add a g++ theme

This commit is contained in:
Johann Dreo 2013-03-22 22:52:24 +01:00
commit 8e73d1512f

13
colout_g++.py Normal file
View file

@ -0,0 +1,13 @@
#encoding: utf-8
import colout
def theme( item ):
item = colout.colorup( item, "error", "red", "bold" )
item = colout.colorup( item, "warning", "magenta", "bold" )
item = colout.colorup( item, "\[-W.*\]", "magenta", "normal" )
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" )
return item