summaryrefslogtreecommitdiff
path: root/doc/syntax/makefile.nanorc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/syntax/makefile.nanorc')
-rw-r--r--doc/syntax/makefile.nanorc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/syntax/makefile.nanorc b/doc/syntax/makefile.nanorc
new file mode 100644
index 0000000..93a1e76
--- /dev/null
+++ b/doc/syntax/makefile.nanorc
@@ -0,0 +1,8 @@
+# unattributed syntax highlighting example from wiki.linuxhelp.net/
+
+syntax "makefile" "Makefile[^/]*$"
+color red "[:=]"
+color magenta "\<(if|ifeq|else|endif)\>"
+color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
+color brightblue "^[^ ]+:"
+color green "#.*$"