diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-08-29 06:24:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 06:24:40 +0800 |
commit | 0346666f717576d31be411cd59b07c81eff18f95 (patch) | |
tree | 5be3dbf9681b42c97d485a8c4f7244a40739ce60 /src | |
parent | cd05a72fec49bfaa3911c141ac605b67b6e2270a (diff) | |
download | rneovim-0346666f717576d31be411cd59b07c81eff18f95.tar.gz rneovim-0346666f717576d31be411cd59b07c81eff18f95.tar.bz2 rneovim-0346666f717576d31be411cd59b07c81eff18f95.zip |
vim-patch:9.1.0699: "dvgo" is not always an inclusive motion (#30173)
Problem: "dvgo" is not always an inclusive motion
(Iain King-Speir)
Solution: initialize the inclusive flag to false
fixes: vim/vim#15580
closes: vim/vim#15582
https://github.com/vim/vim/commit/f8702aeb8ff85554d909901ae45b50c3d532bf70
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/normal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 9e17fe234d..f44a64af21 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -5631,6 +5631,7 @@ static void nv_g_cmd(cmdarg_T *cap) // "go": goto byte count from start of buffer case 'o': + oap->inclusive = false; goto_byte(cap->count0); break; |