mirror of
git://git.sv.gnu.org/nano.git
synced 2025-03-02 14:51:30 +03:00

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4617 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
12 lines
329 B
Plaintext
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:]]+$"
|