mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 06:39:43 +03:00
document the "none" and "default" syntaxes in nanorc.5
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2963 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
7aec89e9c9
commit
492e501fb3
@ -290,7 +290,9 @@ CVS code -
|
|||||||
- Add regexes for Bourne shell scripts. (Mike Frysinger, minor
|
- Add regexes for Bourne shell scripts. (Mike Frysinger, minor
|
||||||
tweaks by DLR)
|
tweaks by DLR)
|
||||||
- Explain how the "none" and "default" syntaxes work. (DLR)
|
- Explain how the "none" and "default" syntaxes work. (DLR)
|
||||||
- doc/man/fr/nano.1, doc/man/fr/nanorc.1:
|
- doc/man/nanorc.5:
|
||||||
|
- Explain how the "none" and "default" syntaxes work. (DLR)
|
||||||
|
- doc/man/fr/nano.1, doc/man/fr/nanorc.5:
|
||||||
- Updated translation by Jean-Philippe Gérard.
|
- Updated translation by Jean-Philippe Gérard.
|
||||||
- src/Makefile.am:
|
- src/Makefile.am:
|
||||||
- Add text.c to nano_SOURCES. (DLR)
|
- Add text.c to nano_SOURCES. (DLR)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
.\" Public License for copying conditions. There is NO warranty.
|
.\" Public License for copying conditions. There is NO warranty.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.TH NANORC 5 "version 1.3.8" "June 27, 2005"
|
.TH NANORC 5 "version 1.3.8" "August 01, 2005"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
@ -173,6 +173,11 @@ Defines a syntax named \fIstr\fP which can be activated via the \fB-Y\fP
|
|||||||
flag, or will be automatically activated if the current filename matches
|
flag, or will be automatically activated if the current filename matches
|
||||||
\fIfileregex\fP. All following \fBcolor\fP and \fBicolor\fP statements
|
\fIfileregex\fP. All following \fBcolor\fP and \fBicolor\fP statements
|
||||||
will apply to \fIsyntax\fP until a new syntax is defined.
|
will apply to \fIsyntax\fP until a new syntax is defined.
|
||||||
|
|
||||||
|
The \fInone\fP syntax is reserved; specifying it on the command line is
|
||||||
|
the same as not having a syntax at all. The \fIdefault\fP syntax is
|
||||||
|
special: it takes no \fIfileregex\fP, and applies to files that don't
|
||||||
|
match any other syntax's \fIfileregex\fP.
|
||||||
.TP
|
.TP
|
||||||
.B color \fIfgcolor\fP,\fIbgcolor\fP "\fIregex\fP" ...
|
.B color \fIfgcolor\fP,\fIbgcolor\fP "\fIregex\fP" ...
|
||||||
For the currently defined syntax, display all expressions matching
|
For the currently defined syntax, display all expressions matching
|
||||||
|
Loading…
Reference in New Issue
Block a user