From 6fc0432e9ff3676e0be9c963ac7f69cff7bde2e7 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 20 Jul 2012 13:36:06 +0200 Subject: [PATCH] add inline keyword in cpp highlighting --- src/rc/cpp.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc/cpp.kak b/src/rc/cpp.kak index 78348af8d..82b9e9bf8 100644 --- a/src/rc/cpp.kak +++ b/src/rc/cpp.kak @@ -6,7 +6,7 @@ hook global WinSetOption filetype=cpp \ addhl -group cpp-highlight regex "\<(this|true|false|NULL|nullptr|)\>|\<-?\d+[fdiu]?|'((\\.)?|[^'\\])'" red default; \ addhl -group cpp-highlight regex "\<(void|int|char|unsigned|float|bool|size_t)\>" yellow default; \ addhl -group cpp-highlight regex "\<(while|for|if|else|do|switch|case|default|goto|break|continue|return|using|try|catch|throw|new|delete|and|or|not)\>" blue default; \ - addhl -group cpp-highlight regex "\<(const|auto|namespace|static|volatile|class|struct|enum|union|public|protected|private|template|typedef|virtual|friend|extern|typename)\>" green default; \ + addhl -group cpp-highlight regex "\<(const|auto|namespace|inline|static|volatile|class|struct|enum|union|public|protected|private|template|typedef|virtual|friend|extern|typename)\>" green default; \ addhl -group cpp-highlight regex "(?