diff options
author | Dylan Thacker-Smith <dylan.ah.smith@gmail.com> | 2024-03-24 09:43:25 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-24 09:43:25 +0100 |
commit | b2d124c6258ff41e1f951bf39a4afc386d79ddc4 (patch) | |
tree | 553f0db370d31fbdb8752e25aba51cb6cf70586b /src/version.c | |
parent | d3c0ff5d5a9076999a8504ee4d23a2c5abaf494e (diff) |
patch 9.1.0200: `gj`/`gk` not skipping over outer virtual text linesv9.1.0200
Problem: `gj`/`gk` was updating the desired cursor virtual column to
the outer virtual text, even though the actual cursor position
was moved to not be on the virtual text, leading the need to
do an extra `gj`/`gk` to move past each virtual text line.
(rickhowe)
Solution: Exclude the outer virtual text when getting the line length
for moving the cursor with `gj`/`gk`, so that no extra
movement is needed to skip over virtual text lines.
(Dylan Thacker-Smith)
fixes: #12028
related: #14262
Signed-off-by: Dylan Thacker-Smith <dylan.ah.smith@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/version.c')
-rw-r--r-- | src/version.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 32037e3778..0e5e399a81 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 200, +/**/ 199, /**/ 198, |