commit 64f28515fd5a9648629708704089ad3858070256
parent b84dea989846218357dd72fe5e5ccedafb3f785c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 31 May 2018 11:25:21 +0200
docs: remove quotes around the name of a syntax -- they are not needed
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -958,7 +958,7 @@ via the following commands in a nanorc file:
@table @code
-@item syntax "@var{name}" ["@var{fileregex}" @dots{}]
+@item syntax @var{name} ["@var{fileregex}" @dots{}]
Start the definition of a syntax with this @var{name}.
All subsequent @code{color} and other such commands
will be added to this syntax, until a new @code{syntax}
diff --git a/doc/nanorc.5 b/doc/nanorc.5
@@ -311,7 +311,7 @@ good fit for a small editor like \fBnano\fR.
For each kind of file a separate syntax can be defined
via the following commands:
.TP
-.BR syntax " ""\fIname\fR"" [""\fIfileregex\fR"" ...]"
+.BR syntax " \fIname\fR [""\fIfileregex\fR"" ...]"
Start the definition of a syntax with this \fIname\fR.
All subsequent \fBcolor\fR and other such commands
will be added to this syntax, until a new \fBsyntax\fR
@@ -323,9 +323,9 @@ expression \fIfileregex\fR. Or the syntax can be explicitly
activated by using the \fB-Y\fR or \fB\-\-syntax\fR
command-line option followed by the \fIname\fR.
-The syntax "\fBdefault\fP" is special: it takes no \fIfileregex\fR,
+The syntax \fBdefault\fP is special: it takes no \fIfileregex\fR,
and applies to files that don't match any syntax's regexes.
-The syntax "\fBnone\fP" is reserved; specifying it on the command line
+The syntax \fBnone\fP is reserved; specifying it on the command line
is the same as not having a syntax at all.
.TP
.BR header " ""\fIregex\fR"" " ...