patch 9.1.0699: "dvgo" is not always an inclusive motion

Problem:  "dvgo" is not always an inclusive motion
          (Iain King-Speir)
Solution: initialize the inclusive flag to false

fixes: #15580
closes: #15582

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-08-28 20:39:24 +02:00
parent 8556e23ee9
commit f8702aeb8f
4 changed files with 22 additions and 6 deletions

View File

@ -1,4 +1,4 @@
*motion.txt* For Vim version 9.1. Last change: 2024 Jul 14
*motion.txt* For Vim version 9.1. Last change: 2024 Aug 28
VIM REFERENCE MANUAL by Bram Moolenaar
@ -364,11 +364,11 @@ gg Goto line [count], default first line, on the first
See also 'startofline' option.
:[range]go[to] [count] *:go* *:goto* *go*
[count]go Go to [count] byte in the buffer. Default [count] is
one, start of the file. When giving [range], the
last number in it used as the byte count. End-of-line
characters are counted depending on the current
'fileformat' setting.
[count]go Go to [count] byte in the buffer. |exclusive| motion.
Default [count] is one, start of the file. When
giving [range], the last number in it used as the byte
count. End-of-line characters are counted depending
on the current 'fileformat' setting.
Also see the |line2byte()| function, and the 'o'
option in 'statusline'.
{not available when compiled without the