blob: 9d10ecad2b959a09299209f695f51a1cfd98555e [file] [log] [blame]
Benno Schulenberg22a04422014-05-06 10:03:02 +00001## Here is an example for Texinfo files.
Benno Schulenbergfe9da942014-05-16 20:21:34 +00002
Benno Schulenberg22a04422014-05-06 10:03:02 +00003syntax "texinfo" "\.texi$"
4header "^\\input texinfo"
5magic "Texinfo source text"
Mike Scalora6a2032f2016-05-25 22:13:50 +02006comment "@c "
Benno Schulenberg22a04422014-05-06 10:03:02 +00007
8# Command arguments, trailing and enclosed.
9color cyan "^@[a-z]+[[:space:]]+.*$"
Benno Schulenberga1523112014-05-06 20:45:56 +000010color brightmagenta "@[a-z]+\{[^}]*\}"
Benno Schulenberg22a04422014-05-06 10:03:02 +000011# Commands themselves.
12color yellow "@[a-z]+\{?" "\}"
13
14# Menu items.
15color brightred "^\*[[:space:]]+.*::.*$"
16
17# Comments.
18color green "@c[[:space:]]+.*$"
19
20# Trailing whitespace.
21color ,green "[[:space:]]+$"