Use pygments in the g++ theme
This commit is contained in:
parent
e3af4cbe0b
commit
45872df75c
1 changed files with 1 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
#encoding: utf-8
|
|
||||||
import colout
|
import colout
|
||||||
def theme( item ):
|
def theme( item ):
|
||||||
item = colout.colorup( item, "error", "red", "bold" )
|
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, "note", "blue", "bold" )
|
||||||
item = colout.colorup( item, ":([0-9]+):[0-9]*", "yellow", "normal" )
|
item = colout.colorup( item, ":([0-9]+):[0-9]*", "yellow", "normal" )
|
||||||
item = colout.colorup( item, "^((/\w+)+)\.(h|cpp)", "white", "normal" )
|
item = colout.colorup( item, "^((/\w+)+)\.(h|cpp)", "white", "normal" )
|
||||||
item = colout.colorup( item, "'(.*)'", "blue", "normal" )
|
item = colout.colorup( item, "'(.*)'", "Cpp", "monokai" )
|
||||||
|
|
||||||
return item
|
return item
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue