mirror of https://github.com/scopatz/nanorc
add syntax highlight for svn commit file
parent
0fdc798142
commit
5516da7e24
@ -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…
Reference in New Issue