diff --git a/nanorc b/nanorc index f987aa1..225cb7c 100644 --- a/nanorc +++ b/nanorc @@ -67,6 +67,7 @@ include "~/.nano/sed.nanorc" include "~/.nano/sh.nanorc" include "~/.nano/sls.nanorc" include "~/.nano/sql.nanorc" +include "~/.nano/svn.nanorc" include "~/.nano/swift.nanorc" include "~/.nano/systemd.nanorc" include "~/.nano/tcl.nanorc" diff --git a/svn.nanorc b/svn.nanorc new file mode 100644 index 0000000..c2f89ab --- /dev/null +++ b/svn.nanorc @@ -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:]]"