From: Chris Allegretta Date: Fri, 14 Jun 2013 02:48:59 +0000 (+0000) Subject: 2013-06-13 Matthew Fischer X-Git-Tag: v2.3.3~350 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d1336f6c8217ca696167a2a423089fbe9c64757f;p=nano.git 2013-06-13 Matthew Fischer * doc/syntax/c.nanorc - Add auto keyword git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4580 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 6ac3de68..73735737 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2013-06-13 Matthew Fischer + * doc/syntax/c.nanorc - Add auto keyword + 2013-06-13 David Lawrence Ramsey * src/global.c (first_sc_for) - try and more consistently display keystrokes, useful when the user has re-binded a bunch of them. diff --git a/doc/syntax/c.nanorc b/doc/syntax/c.nanorc index 59f0f3b6..18c685e1 100644 --- a/doc/syntax/c.nanorc +++ b/doc/syntax/c.nanorc @@ -3,7 +3,7 @@ syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" magic "ASCII C(\+\+)? program text" color brightred "\<[A-Z_][0-9A-Z_]+\>" -color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>" +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 brightyellow "\<(for|if|while|do|else|case|default|switch)\>"