mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
added gitcommit rc, thanks @mikofski
This commit is contained in:
parent
f8e1998e27
commit
9434b5d98e
1 changed files with 14 additions and 0 deletions
14
gitcommit.nanorc
Normal file
14
gitcommit.nanorc
Normal file
|
|
@ -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 "^#"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue