1
0
forked from aniani/vim

patch 8.0.0515: ml_get errors in silent Ex mode

Problem:    ml_get errors in silent Ex mode. (Dominique Pelle)
Solution:   Clear valid flags when setting the cursor.  Set the topline when
            not in full screen mode.
This commit is contained in:
Bram Moolenaar
2017-03-27 23:02:07 +02:00
parent 980128c369
commit d5d37537d1
4 changed files with 18 additions and 5 deletions

View File

@@ -10361,6 +10361,7 @@ ex_normal(exarg_T *eap)
{
curwin->w_cursor.lnum = eap->line1++;
curwin->w_cursor.col = 0;
check_cursor_moved(curwin);
}
exec_normal_cmd(