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]+\{?" "\}"