smol/doc/syntax/default.nanorc

20 lines
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\>"