commit a152311cb5a3f1fb2d07b5bbd534091f157e86f4
parent c1c67d8a14adddc707ed7225ecd9b9fc6ed0de1e
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Tue, 6 May 2014 20:45:56 +0000
Stopping the brace content from spilling.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4847 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git 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 <bensberg@justemail.net>
* doc/man/nanorc.5: Give syntax highlighting its own section,
diff --git 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]+\{?" "\}"