mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-14 23:02:37 +03:00
fe9da9425e
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4899 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
21 lines
452 B
Plaintext
21 lines
452 B
Plaintext
## Here is an example for Texinfo files.
|
|
|
|
syntax "texinfo" "\.texi$"
|
|
header "^\\input texinfo"
|
|
magic "Texinfo source text"
|
|
|
|
# Command arguments, trailing and enclosed.
|
|
color cyan "^@[a-z]+[[:space:]]+.*$"
|
|
color brightmagenta "@[a-z]+\{[^}]*\}"
|
|
# Commands themselves.
|
|
color yellow "@[a-z]+\{?" "\}"
|
|
|
|
# Menu items.
|
|
color brightred "^\*[[:space:]]+.*::.*$"
|
|
|
|
# Comments.
|
|
color green "@c[[:space:]]+.*$"
|
|
|
|
# Trailing whitespace.
|
|
color ,green "[[:space:]]+$"
|