nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit e95469bcbb0ce1f907de488fe9662a9d6166e627
parent cf71d761dcc8ce8e69b8e369fed92b075e9c75b1
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 29 May 2025 14:20:06 +0200

tweaks: properly tag some keywords in texi doc, instead of using quotes

Diffstat:
Mdoc/nano.texi | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/nano.texi b/doc/nano.texi @@ -1101,7 +1101,7 @@ Use this color combination for line numbers. @xref{@code{set keycolor}} for valid color names. @item set operatingdir "@var{directory}" -@command{nano} only reads and writes files inside "directory" and its +@command{nano} only reads and writes files inside @var{directory} and its subdirectories. Also, the current directory is changed to here, so files are inserted from this directory. By default, the operating directory feature is turned off. @@ -1394,18 +1394,18 @@ Same as above, except that the matching is case insensitive. @item color [bold,][italic,]@var{fgcolor},@var{bgcolor} start="@var{fromrx}" end="@var{torx}" Paint all pieces of text whose start matches extended regular expression -"fromrx" and whose end matches extended regular expression "torx" with -the given foreground and background colors, at least one of +@var{fromrx} and whose end matches extended regular expression @var{torx} +with the given foreground and background colors, at least one of which must be specified. This means that, after an initial instance of -"fromrx", all text until the first instance of "torx" is colored. +@var{fromrx}, all text until the first instance of @var{torx} is colored. This allows syntax highlighting to span multiple lines. @item icolor [bold,][italic,]@var{fgcolor},@var{bgcolor} start="@var{fromrx}" end="@var{torx}" Same as above, except that the matching is case insensitive. @item include "@var{syntaxfile}" -Read in self-contained color syntaxes from "syntaxfile". Note that -"syntaxfile" may contain only the above commands, from @code{syntax} +Read in self-contained color syntaxes from @var{syntaxfile}. Note that +such a syntax file may contain only the above commands, from @code{syntax} to @code{icolor}. @item extendsyntax @var{name} @var{command} @var{argument} @dots{}