2014-05-16 20:21:34 +00:00
|
|
|
## Here is an example for Makefiles.
|
2009-11-28 04:11:04 +00:00
|
|
|
|
2015-11-24 11:09:06 +00:00
|
|
|
syntax "makefile" "Makefile[^/]*$" "\.(make|mk)$"
|
2016-05-25 20:13:50 +00:00
|
|
|
comment "#"
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2009-11-28 04:11:04 +00:00
|
|
|
color red "[:=]"
|
|
|
|
color magenta "\<(if|ifeq|else|endif)\>"
|
2009-12-04 03:46:04 +00:00
|
|
|
color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
|
2009-11-28 04:11:04 +00:00
|
|
|
color brightblue "^[^ ]+:"
|
2017-05-09 15:37:05 +00:00
|
|
|
color green "(^|[[:space:]]+)#.*"
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2014-02-26 21:42:53 +00:00
|
|
|
## Trailing whitespace.
|
|
|
|
color ,green "[[:space:]]+$"
|