From: Benno Schulenberg Date: Tue, 6 May 2014 20:45:56 +0000 (+0000) Subject: Stopping the brace content from spilling. X-Git-Tag: v2.3.3~83 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a152311cb5a3f1fb2d07b5bbd534091f157e86f4;p=nano.git Stopping the brace content from spilling. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4847 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index b9fb6eaa..4b7f900f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ remove option '-?', and make some other tweaks. * doc/man/{nano.1,nanorc.5}, doc/texinfo/nano.texi: Synchronize the documentation, and tweak some wording here and there. + * doc/syntax/texinfo.nanorc: Stop the brace content from spilling. 2014-05-05 Benno Schulenberg * doc/man/nanorc.5: Give syntax highlighting its own section, diff --git a/doc/syntax/texinfo.nanorc b/doc/syntax/texinfo.nanorc index a96dde81..ca62aacb 100644 --- a/doc/syntax/texinfo.nanorc +++ b/doc/syntax/texinfo.nanorc @@ -6,7 +6,7 @@ magic "Texinfo source text" # Command arguments, trailing and enclosed. color cyan "^@[a-z]+[[:space:]]+.*$" -color brightmagenta "@[a-z]+\{.*\}" +color brightmagenta "@[a-z]+\{[^}]*\}" # Commands themselves. color yellow "@[a-z]+\{?" "\}"