1
1
nano/doc/syntax/default.nanorc
Benno Schulenberg 8491c2251b Adding an example of a default syntax.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4904 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2014-05-18 10:34:18 +00:00

20 строки
371 B
Plaintext

## An example of a default syntax, which is used
## for files that do not match any other syntax.
syntax "default"
# Spaces in front of tabs.
color ,red " + +"
# Trailing blanks.
color ,red "[[:blank:]]+$"
# E-mail signatures.
color yellow start="^-- $" end="^$"
# Nano's name.
color brightred "(GNU )?nano( [1-9]\.[0-9]\.[^ ]+)?"
# Tease.
color green "\<yellow\>"