summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/nano/files/nanorc-patch')
-rw-r--r--app-editors/nano/files/nanorc-patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-editors/nano/files/nanorc-patch b/app-editors/nano/files/nanorc-patch
new file mode 100644
index 000000000000..0c48155d92f4
--- /dev/null
+++ b/app-editors/nano/files/nanorc-patch
@@ -0,0 +1,11 @@
+
+## Here is an example for patch files
+##
+# syntax "patch" "\.(patch|diff)$"
+# color brightgreen "^\+.*"
+# color green "^\+\+\+.*"
+# color brightblue "^ .*"
+# color brightred "^-.*"
+# color red "^---.*"
+# color brightyellow "^@@.*"
+# color magenta "^diff.*"