Ah sorry. it should be more strictly.
https://gist.github.com/1219080
diff -r 15b934a16641 src/ex_docmd.c
--- a/src/ex_docmd.c Wed Sep 14 19:04:40 2011 +0200
+++ b/src/ex_docmd.c Thu Sep 15 21:19:47 2011 +0900
@@ -8628,9 +8628,16 @@
char *mode;
char_u *fname;
char_u *arg = eap->arg;
+ static int save_msg_col = -1;
if (STRICMP(eap->arg, "END") == 0)
+ {
close_redir();
+ if (save_msg_col != -1) {
+ msg_col = save_msg_col;
+ save_msg_col = -1;
+ }
+ }
else
{
if (*arg == '>')
@@ -8736,8 +8743,10 @@
#ifdef FEAT_EVAL
|| redir_reg || redir_vname
#endif
- )
+ ) {
redir_off = FALSE;
+ save_msg_col = msg_col;
+ }
}
/*
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php