From 9c3edc026b01483c3eb33847b9c5b5fd6dc8a51c Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 4 Dec 2004 18:14:12 +0000 Subject: [PATCH] add return to the "c-file" regexes in nanorc.sample git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2158 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 ++- doc/nanorc.sample | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 412cb1c5..a95e2d36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -122,7 +122,8 @@ CVS code - - Add debug message. (DLR) - configure.ac: - Remove specific references to control key shortcuts. (DLR) - +- doc/nanorc.sample: + - Add return to the "c-file" regexes. (DLR) GNU nano 1.3.5 - 2004.11.22 - General: diff --git a/doc/nanorc.sample b/doc/nanorc.sample index d20f9e65..fb000a5c 100644 --- a/doc/nanorc.sample +++ b/doc/nanorc.sample @@ -139,7 +139,7 @@ # syntax "c-file" "\.(c|h)$" # color red "\<[A-Z_]{2,}\>" # color green "\<(float|double|char|int|short|long|enum|void|static|const|struct|union|typedef|extern|signed|unsigned|inline)\>" -# color brightyellow "\<(for|if|while|do|else|case|switch|goto|continue|break)\>" +# color brightyellow "\<(for|if|while|do|else|case|switch|goto|continue|break|return)\>" # color brightcyan "^ *# *(define|undef|include|ifn?def|endif|elif|else|if)" ## ## You will in general want your comments and strings to come last,