--- a/.hgeditor Sat Jul 09 01:45:49 2016 +0800
+++ b/.hgeditor Sat Jul 09 01:47:09 2016 +0800
MD5=$(which md5 2>/dev/null)
[ -x "${MD5}" ] && CHECKSUM=`${MD5} "$HGTMP/msg"`
if [ -s "$HGTMP/diff" ]; then
- vim -f "+e $HGTMP/diff" '+set buftype=help filetype=diff' "+vsplit $HGTMP/msg" || exit $?
+ vim -f "+e $HGTMP/diff" '+set buftype=help filetype=diff' "+vsplit $HGTMP/msg" '+setlocal spell' || exit $?
- vim -f "$HGTMP/msg" || exit $?
+ vim -f "$HGTMP/msg" '+setlocal spell' || exit $?
[ -x "${MD5}" ] && (echo "$CHECKSUM" | ${MD5} -c >/dev/null 2>&1 && exit 13)