1
1
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:
Maxime Coste 2011-10-06 21:12:16 +00:00
parent f9be716776
commit cf9f8c93ec

View File

@ -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);
}