summaryrefslogtreecommitdiff
path: root/share/nano/makefile.nanorc
diff options
context:
space:
mode:
Diffstat (limited to 'share/nano/makefile.nanorc')
-rw-r--r--share/nano/makefile.nanorc8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/nano/makefile.nanorc b/share/nano/makefile.nanorc
new file mode 100644
index 0000000..93a1e76
--- /dev/null
+++ b/share/nano/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 "#.*$"