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 "^#"