From 9434b5d98e07a6285b9d64824668e3bb5cd97ec7 Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Thu, 28 Mar 2013 10:03:25 -0500 Subject: [PATCH] added gitcommit rc, thanks @mikofski --- gitcommit.nanorc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gitcommit.nanorc diff --git a/gitcommit.nanorc b/gitcommit.nanorc new file mode 100644 index 0000000..0717e92 --- /dev/null +++ b/gitcommit.nanorc @@ -0,0 +1,14 @@ +syntax "gitcommit" "COMMIT_EDITMSG$" +color white "#.*" +color green "#.(modified|deleted).*" +color yellow start="# Changes.*" end="# Changed.*" +color cyan start="# Untracked.*" end="diff" +color cyan start="# Untracked.*" end="$$" +color brightred "^deleted file mode .*" +color brightgreen "^\+.*" +color brightred "^-.*" +color brightyellow "^(diff|index|---|\+\+\+).*" +color brightmagenta "@@.*@@" +color white "# (Change[ds]|Untracked) .*" +color white "#.*\(use .*" +color white "^#"