mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-23 13:19:43 +03:00
14 lines
314 B
Plaintext
14 lines
314 B
Plaintext
## Here is an example for Makefiles.
|
|
|
|
syntax "makefile" "Makefile[^/]*$" "\.(make|mk)$"
|
|
comment "#"
|
|
|
|
color red "[:=]"
|
|
color magenta "\<(if|ifeq|else|endif)\>"
|
|
color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
|
|
color brightblue "^[^ ]+:"
|
|
color green "(^|[[:space:]]+)#.*"
|
|
|
|
## Trailing whitespace.
|
|
color ,green "[[:space:]]+$"
|