Add a g++ theme
This commit is contained in:
parent
c0da324726
commit
8e73d1512f
1 changed files with 13 additions and 0 deletions
13
colout_g++.py
Normal file
13
colout_g++.py
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue