diff options
author | KunMing Xie <qqzz014@gmail.com> | 2018-05-30 15:11:52 +0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-05-30 09:11:52 +0200 |
commit | 77a2eaf08bdc29f5ae6f4dc263b2a97b6cb749e8 (patch) | |
tree | edb9d5218655b1f030b6c19ea4b1e56efd6b791e /src/nvim/ex_docmd.c | |
parent | f711b635133fea2a137b97caa199f68d3142ed4f (diff) | |
download | rneovim-77a2eaf08bdc29f5ae6f4dc263b2a97b6cb749e8.tar.gz rneovim-77a2eaf08bdc29f5ae6f4dc263b2a97b6cb749e8.tar.bz2 rneovim-77a2eaf08bdc29f5ae6f4dc263b2a97b6cb749e8.zip |
vim-patch:8.0.0515: ml_get errors in silent Ex mode (#8452)
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.
https://github.com/vim/vim/commit/d5d37537d1fa46fd468bd378af2006dd09840f38
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 52b810085c..e1efd5710d 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -8104,6 +8104,7 @@ static void ex_normal(exarg_T *eap) if (eap->addr_count != 0) { curwin->w_cursor.lnum = eap->line1++; curwin->w_cursor.col = 0; + check_cursor_moved(curwin); } exec_normal_cmd( |