2014-05-16 20:21:34 +00:00
|
|
|
## Here is an example for Makefiles.
|
2009-11-28 04:11:04 +00:00
|
|
|
|
2018-02-07 10:25:46 +00:00
|
|
|
syntax makefile "Makefile[^/]*$" "\.(make|mk)$"
|
2017-11-19 10:10:53 +00:00
|
|
|
magic "makefile script"
|
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:]]+$"
|