Hi mattn!

On Do, 07 Mai 2015, mattn wrote:

> This patch fixes this problem, but i'm not sure that this change is best.

I am not either. Perhaps this patch is (slightly) better?:

diff --git a/src/normal.c b/src/normal.c
--- a/src/normal.c
+++ b/src/normal.c
@@ -8493,6 +8493,9 @@ n_opencmd(cap)
            /* When '#' is in 'cpoptions' ignore the count. */
            if (vim_strchr(p_cpo, CPO_HASH) != NULL)
                cap->count1 = 1;
+           if (curwin->w_p_cul)
+               /* force redraw of cursorline */
+               curwin->w_valid &= ~VALID_CROW;
            invoke_edit(cap, FALSE, cap->cmdchar, TRUE);
        }
     }



Best,
Christian
-- 
Traue keinem Programm, es sei denn du hast es selbst geschrieben.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui