2014-05-06 10:03:02 +00:00
|
|
|
## Here is an example for Texinfo files.
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2014-05-06 10:03:02 +00:00
|
|
|
syntax "texinfo" "\.texi$"
|
|
|
|
header "^\\input texinfo"
|
|
|
|
magic "Texinfo source text"
|
2016-05-25 20:13:50 +00:00
|
|
|
comment "@c "
|
2014-05-06 10:03:02 +00:00
|
|
|
|
|
|
|
# Command arguments, trailing and enclosed.
|
|
|
|
color cyan "^@[a-z]+[[:space:]]+.*$"
|
2014-05-06 20:45:56 +00:00
|
|
|
color brightmagenta "@[a-z]+\{[^}]*\}"
|
2014-05-06 10:03:02 +00:00
|
|
|
# Commands themselves.
|
|
|
|
color yellow "@[a-z]+\{?" "\}"
|
|
|
|
|
|
|
|
# Menu items.
|
|
|
|
color brightred "^\*[[:space:]]+.*::.*$"
|
|
|
|
|
|
|
|
# Comments.
|
|
|
|
color green "@c[[:space:]]+.*$"
|
|
|
|
|
|
|
|
# Trailing whitespace.
|
|
|
|
color ,green "[[:space:]]+$"
|