Problem: Cursor changes column with up motion when the matchparen plugin
saves and restores the cursor position. (Martin Kunev)
Solution: Make sure curswant is updated before invoking the autocommand.
# endif
# ifdef FEAT_AUTOCMD
if (has_cursormovedI())
+ {
+ /* Make sure curswant is correct, an autocommand may call
+ * getcurpos(). */
+ update_curswant();
apply_autocmds(EVENT_CURSORMOVEDI, NULL, NULL, FALSE, curbuf);
+ }
# endif
# ifdef FEAT_CONCEAL
if (curwin->w_p_cole > 0)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1296,
/**/
1295,
/**/