mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-23 13:19:43 +03:00
34b1824822
That is, don't allow another bracket between the opening and the closing bracket.
21 lines
494 B
Plaintext
21 lines
494 B
Plaintext
## An example of a default syntax. The default syntax is used for
|
|
## files that do not match any other syntax.
|
|
|
|
syntax default
|
|
comment "#"
|
|
|
|
# Comments.
|
|
color cyan "^[[:space:]]*#.*"
|
|
|
|
# Spaces in front of tabs.
|
|
color ,red " + +"
|
|
|
|
# Nano's name, including version.
|
|
color brightred "(GNU )?[Nn]ano [1-4]\.[0-9][-.[:alnum:]]*\>"
|
|
|
|
# Email addresses.
|
|
color magenta "<[[:alnum:].%_+-]+@[[:alnum:].-]+\.[[:alpha:]]{2,}>"
|
|
|
|
# Bracketed captions in certain config files.
|
|
color brightgreen "^\[[^][]+\]$"
|