mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-28 01:00:28 +03:00
Filters: tweak colorize_cplusplus
This commit is contained in:
parent
f9be716776
commit
cf9f8c93ec
@ -48,7 +48,7 @@ void colorize_cplusplus(DisplayBuffer& display_buffer)
|
||||
//static boost::regex operators("->|\\+|\\-|\\*|/|\\\\|\\&|\\|\\^|[<>=!+-]=|=|\\(|\\)|\\[|\\]|\\{|\\}|\\<(not|and|or|xor)\\>");
|
||||
//colorize_regex(display_buffer, operators, Color::Green);
|
||||
|
||||
static boost::regex types_keywords("\\<(const|auto|namespace|static|volatile|class|struct|enum|union|public|protected|private)\\>");
|
||||
static boost::regex types_keywords("\\<(const|auto|namespace|static|volatile|class|struct|enum|union|public|protected|private|template)\\>");
|
||||
colorize_regex(display_buffer, types_keywords, Color::Green);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user