blob: 918de3dcd3cb2907e84f95acf0005004e61f8457 [file] [log] [blame]
Benno Schulenberg213294e2015-08-29 19:52:03 +00001## Here is an example for Autoconf.
2
Benno Schulenberg451b2992015-12-23 10:54:40 +00003syntax "autoconf" "\.(ac|m4)$"
Mike Scalora6a2032f2016-05-25 22:13:50 +02004comment "#"
Benno Schulenberg213294e2015-08-29 19:52:03 +00005
6# Keywords:
Benno Schulenberg451b2992015-12-23 10:54:40 +00007color yellow "\<(if|test|then|elif|else|fi|for|in|do|done)\>"
Benno Schulenberg213294e2015-08-29 19:52:03 +00008color yellow "(=|!=|&&|\|\|)"
9
10# Macros:
11color cyan "\<[[:upper:]_[:digit:]]+\>"
12
13# Version numbers:
14color red "\<[-_.0-9]+\>"
15
16# Strings:
17color red "\"[^"]*\"" "\'[^']*\'"
18
19# Backticks:
20color green "`[^`]*`"
21
22# Error lines:
Mike Frysingereb68cd12016-11-23 14:30:46 -050023color brightred "^\*\*\*.*"
Benno Schulenberg213294e2015-08-29 19:52:03 +000024
25# Brackets:
26color magenta "\[|\]|\(|\)"
27
28# Comments:
Benno Schulenberg451b2992015-12-23 10:54:40 +000029color blue "^[[:blank:]]*#.*" "\<dnl.*"
30
31# Trailing whitespace:
32color ,green "[[:space:]]+$"