2017-05-19 19:57:45 +02:00
|
|
|
## An example of a default syntax. The default syntax is used for
|
|
|
|
## files that do not match any other syntax.
|
2014-05-18 10:34:18 +00:00
|
|
|
|
2018-02-07 11:25:46 +01:00
|
|
|
syntax default
|
2016-05-25 22:13:50 +02:00
|
|
|
comment "#"
|
2014-05-18 10:34:18 +00:00
|
|
|
|
2017-05-19 19:57:45 +02:00
|
|
|
# Comments.
|
2017-05-23 20:07:15 +02:00
|
|
|
color cyan "^[[:space:]]*#.*"
|
2017-05-19 19:57:45 +02:00
|
|
|
|
2014-05-18 10:34:18 +00:00
|
|
|
# Spaces in front of tabs.
|
|
|
|
color ,red " + +"
|
|
|
|
|
2014-05-29 04:38:16 +00:00
|
|
|
# Nano's name, including version.
|
2019-03-30 19:52:38 +01:00
|
|
|
color brightred "(GNU )?[Nn]ano [1-4]\.[0-9][-.[:alnum:]]*\>"
|
2017-05-19 19:57:45 +02:00
|
|
|
|
|
|
|
# Email addresses.
|
2017-10-26 19:40:51 +02:00
|
|
|
color magenta "<[[:alnum:].%_+-]+@[[:alnum:].-]+\.[[:alpha:]]{2,}>"
|
2019-08-14 09:18:51 +02:00
|
|
|
|
|
|
|
# Bracketed captions in certain config files.
|
2019-10-25 12:21:35 +02:00
|
|
|
color brightgreen "^\[[^][]+\]$"
|