aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-03-20 00:47:27 +0100
committerGitHub <noreply@github.com>2017-03-20 00:47:27 +0100
commit091a99afd43126d5e25fd6ea3f19f531a1b5cb9c (patch)
treeb9cebfa51815137e8c26b9d3581106e551aba81d /src/nvim/ex_docmd.c
parent0cab62ad6fc642c06e4249dccac092dd71b0cb3e (diff)
parent2f54d6927cc02484b528a5e8b25b64c8d6580ddd (diff)
downloadrneovim-091a99afd43126d5e25fd6ea3f19f531a1b5cb9c.tar.gz
rneovim-091a99afd43126d5e25fd6ea3f19f531a1b5cb9c.tar.bz2
rneovim-091a99afd43126d5e25fd6ea3f19f531a1b5cb9c.zip
Merge #6318 from justinmk/pr6244
test/legacy: fix test_normal.vim
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 1234f8e888..bd3b8c204a 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -7325,6 +7325,7 @@ static void ex_at(exarg_T *eap)
int prev_len = typebuf.tb_len;
curwin->w_cursor.lnum = eap->line2;
+ check_cursor_col();
// Get the register name. No name means use the previous one.
int c = *eap->arg;