smol/doc/syntax/makefile.nanorc

12 lines
329 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 "#.*$"
## Trailing whitespace.
color ,green "[[:space:]]+$"