smol/doc/syntax/makefile.nanorc

10 lines
276 B
Plaintext

## Syntax highlighting for Makefiles.
## (unattributed example from http://wiki.linuxhelp.net/)
syntax "makefile" "Makefile[^/]*$"
color red "[:=]"
color magenta "\<(if|ifeq|else|endif)\>"
color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
color brightblue "^[^ ]+:"
color green "#.*$"