summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-01-02 23:40:34 -0500
committerdoy <doy@tozt.net>2009-01-02 23:40:34 -0500
commitb75cc37219f5e0abcb7a18fd1f24c4cefaf94c1f (patch)
treed8f28c06c964043c8c88f0c872c30c8c29cd7f1c /vimrc
parent4902ecedd6797fff08d423de2992eb163b200b2b (diff)
downloadconf-b75cc37219f5e0abcb7a18fd1f24c4cefaf94c1f.tar.gz
conf-b75cc37219f5e0abcb7a18fd1f24c4cefaf94c1f.zip
echoerr actually rethrows the exception when called within a try block
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index df8bd6e..e188233 100644
--- a/vimrc
+++ b/vimrc
@@ -395,7 +395,9 @@ function s:diffstart(read_cmd)
try
exe a:read_cmd
catch /.*/
- echoerr v:exception
+ echohl ErrorMsg
+ echo v:exception
+ echohl NONE
call s:diffstop()
return
endtry