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