diff options
author | Dylan Thacker-Smith <dylan.ah.smith@gmail.com> | 2024-03-24 09:46:56 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-24 09:46:56 +0100 |
commit | 366c81a2005370ac738618d889ec0337397a9f96 (patch) | |
tree | 602df2ba884f3e68aacfec2ab46ae8a4edc6bc9a /src/version.c | |
parent | b2d124c6258ff41e1f951bf39a4afc386d79ddc4 (diff) |
patch 9.1.0201: gM not working correctly with virt textv9.1.0201
Problem: `gM` would include outer virtual text and its padding when
getting the line length used to calculate the middle of the
line, putting the cursor much closer to virtual text lines.
Solution: Exclude outer virtual text in getting the line length for
`gM`, so that virtual text doesn't influence where the cursor
is moved to (Dylan Thacker-Smith).
closes: #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 0e5e399a81..b38b235a19 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 */ /**/ + 201, +/**/ 200, /**/ 199, |