From 3ca6c9241fa5158e151e4a36c06396fd555e7067 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 20 Feb 2017 13:07:25 -0500 Subject: [PATCH] syntax: c++: add override keyword --- syntax/c.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/c.nanorc b/syntax/c.nanorc index 0553b6b5..01053bf9 100644 --- a/syntax/c.nanorc +++ b/syntax/c.nanorc @@ -7,7 +7,7 @@ comment "//" color brightred "\<[A-Z_][0-9A-Z_]+\>" color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|auto|static|const|struct|union|typedef|extern|(un)?signed|inline)\>" color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>" -color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>" +color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|override|using|mutable|volatile|register|explicit)\>" color brightyellow "\<(for|if|while|do|else|case|default|switch)\>" color brightyellow "\<(try|throw|catch|operator|new|delete)\>" color magenta "\<(goto|continue|break|return)\>"