diff options
Diffstat (limited to 'doc/syntax/makefile.nanorc')
-rw-r--r-- | doc/syntax/makefile.nanorc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/syntax/makefile.nanorc b/doc/syntax/makefile.nanorc index 93a1e76..0416390 100644 --- a/doc/syntax/makefile.nanorc +++ b/doc/syntax/makefile.nanorc @@ -1,8 +1,12 @@ -# unattributed syntax highlighting example from wiki.linuxhelp.net/ +## Here is an example for Makefiles. 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:]]+$" |