Download:
child 121:1460ff7b4cbf
parent 119:d54e285942f3
120:b8da199312e2
Anton Shestakov <av6@dwimlabs.net>, Sat, 09 Jul 2016 01:47:09 +0800
.hgeditor: enable spell checker in message window

1 файлов изменено, 2 вставок(+), 2 удалений(-) [+]
.hgeditor file | annotate | diff | comparison | revisions
--- a/.hgeditor Sat Jul 09 01:45:49 2016 +0800
+++ b/.hgeditor Sat Jul 09 01:47:09 2016 +0800
@@ -31,9 +31,9 @@
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 $?
else
- vim -f "$HGTMP/msg" || exit $?
+ vim -f "$HGTMP/msg" '+setlocal spell' || exit $?
fi
[ -x "${MD5}" ] && (echo "$CHECKSUM" | ${MD5} -c >/dev/null 2>&1 && exit 13)