summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-04-30 13:45:48 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-04-30 13:45:48 +0100
commit1bbb4ce29c044cfecc7d0aa4c9b6a64018a1df99 (patch)
treef2670a9147a2c710f2c78c15bbd9a2012838811e
parent202d4766c2e0a27502f448ac1b46b46282b234ab (diff)
Add some missing operators to C++ highlighting
-rw-r--r--rc/c-family.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/c-family.kak b/rc/c-family.kak
index a9c16dbd..97931620 100644
--- a/rc/c-family.kak
+++ b/rc/c-family.kak
@@ -74,7 +74,7 @@ def -hidden _c-family-indent-on-closing-curly-brace %[
# c++ specific
addhl -group /cpp/code regex %{\<(this|true|false|NULL|nullptr|)\>|\<-?\d+[fdiu]?|'((\\.)?|[^'\\])'} 0:value
addhl -group /cpp/code regex "\<(void|int|char|unsigned|float|bool|size_t)\>" 0:type
-addhl -group /cpp/code regex "\<(while|for|if|else|do|switch|case|default|goto|break|continue|return|using|try|catch|throw|new|delete|and|or|not|operator|explicit|(?:reinterpret|const|static|dynamic)_cast)\>" 0:keyword
+addhl -group /cpp/code regex "\<(while|for|if|else|do|switch|case|default|goto|break|continue|return|using|try|catch|throw|new|delete|and|and_eq|or|or_eq|not|operator|explicit|(?:reinterpret|const|static|dynamic)_cast|sizeof|alignof|alignas|decltype)\>" 0:keyword
addhl -group /cpp/code regex "\<(const|constexpr|mutable|auto|namespace|inline|static|volatile|class|struct|enum|union|public|protected|private|template|typedef|virtual|friend|extern|typename|override|final)\>" 0:attribute
# objective-c specific