diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-12-21 20:27:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-12-21 20:27:47 +0100 |
commit | b73fa629d6d3d705c1f8e8d5f8109fc9abd7bb6f (patch) | |
tree | 9969ba546d128ada78ef1cb7603caa135b4df255 /src/normal.c | |
parent | ae6f8651251013bafef9de1aed09069deaae8122 (diff) | |
download | vim-git-b73fa629d6d3d705c1f8e8d5f8109fc9abd7bb6f.tar.gz |
patch 8.0.1419: cursor column is not updated after ]sv8.0.1419
Problem: Cursor column is not updated after ]s. (Gary Johnson)
Solution: Set the curswant flag.
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c index a8e65ffd6..745a2f68c 100644 --- a/src/normal.c +++ b/src/normal.c @@ -6814,6 +6814,8 @@ nv_brackets(cmdarg_T *cap) clearopbeep(cap->oap); break; } + else + curwin->w_set_curswant = TRUE; # ifdef FEAT_FOLDING if (cap->oap->op_type == OP_NOP && (fdo_flags & FDO_SEARCH) && KeyTyped) foldOpenCursor(); |