mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
add syntax highlight for svn commit file
This commit is contained in:
parent
0fdc798142
commit
5516da7e24
2 changed files with 15 additions and 0 deletions
1
nanorc
1
nanorc
|
|
@ -67,6 +67,7 @@ include "~/.nano/sed.nanorc"
|
||||||
include "~/.nano/sh.nanorc"
|
include "~/.nano/sh.nanorc"
|
||||||
include "~/.nano/sls.nanorc"
|
include "~/.nano/sls.nanorc"
|
||||||
include "~/.nano/sql.nanorc"
|
include "~/.nano/sql.nanorc"
|
||||||
|
include "~/.nano/svn.nanorc"
|
||||||
include "~/.nano/swift.nanorc"
|
include "~/.nano/swift.nanorc"
|
||||||
include "~/.nano/systemd.nanorc"
|
include "~/.nano/systemd.nanorc"
|
||||||
include "~/.nano/tcl.nanorc"
|
include "~/.nano/tcl.nanorc"
|
||||||
|
|
|
||||||
14
svn.nanorc
Normal file
14
svn.nanorc
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
syntax "svn-commit" "svn-commit(\.[[:digit:]]+)?\.tmp$"
|
||||||
|
|
||||||
|
# commit message
|
||||||
|
color yellow ".*"
|
||||||
|
|
||||||
|
# ignore after line EDITOR_EOF_PREFIX (see svn/util.c)
|
||||||
|
color brightblack "^--.+--$"
|
||||||
|
|
||||||
|
# files changes
|
||||||
|
color white "^[ADM_](M|[[:space:]])[[:space:]](\+|[[:space:]])[[:space:]].*"
|
||||||
|
color red "^D[[:space:]]{4}"
|
||||||
|
color green "^[M_](M|[[:space:]])[[:space:]]{3}"
|
||||||
|
color brightgreen "^A(M|[[:space:]])[[:space:]]{3}"
|
||||||
|
color brightblue "^A(M|[[:space:]])[[:space:]]\+[[:space:]]"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue