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