commit | b73fa629d6d3d705c1f8e8d5f8109fc9abd7bb6f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 21 20:27:47 2017 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 21 20:27:47 2017 +0100 |
tree | 9969ba546d128ada78ef1cb7603caa135b4df255 | |
parent | ae6f8651251013bafef9de1aed09069deaae8122 [diff] [blame] |
patch 8.0.1419: cursor column is not updated after ]s Problem: Cursor column is not updated after ]s. (Gary Johnson) Solution: Set the curswant flag.
diff --git a/src/normal.c b/src/normal.c index a8e65ff..745a2f6 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -6814,6 +6814,8 @@ 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();