From a152311cb5a3f1fb2d07b5bbd534091f157e86f4 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 6 May 2014 20:45:56 +0000 Subject: [PATCH] Stopping the brace content from spilling. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4847 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + doc/syntax/texinfo.nanorc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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]+\{?" "\}" -- 2.39.5