diff options
author | watiko <service@mail.watiko.net> | 2016-01-15 18:07:45 +0900 |
---|---|---|
committer | watiko <service@mail.watiko.net> | 2016-02-01 03:47:09 +0900 |
commit | 2f52ae18e75a85af78b78587d5b44b6d8d4814b7 (patch) | |
tree | 7b5b40edbfb438337cd3b3008a2fa0fa32027a79 /src/nvim/normal.c | |
parent | 594e3a64de2f2a0aac2dfdebbf5881ee3403c275 (diff) | |
download | rneovim-2f52ae18e75a85af78b78587d5b44b6d8d4814b7.tar.gz rneovim-2f52ae18e75a85af78b78587d5b44b6d8d4814b7.tar.bz2 rneovim-2f52ae18e75a85af78b78587d5b44b6d8d4814b7.zip |
vim-patch:7.4.1084
Problem: Using "." to repeat CTRL-A in Visual mode increments the wrong
numbers.
Solution: Append right size to the redo buffer. (Ozaki Kiichi)
https://github.com/vim/vim/commit/e1edc1caba05c553fa60b1cf45a7670b1cfd63fe
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 9a1d99162f..062461c9f5 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -3043,7 +3043,7 @@ static void prep_redo_visual(cmdarg_T *cap) AppendCharToRedobuff('$'); } else if (curbuf->b_visual.vi_end.col > curbuf->b_visual.vi_start.col) { AppendNumberToRedobuff(curbuf->b_visual.vi_end.col - - curbuf->b_visual.vi_start.col - 1); + curbuf->b_visual.vi_start.col); AppendCharToRedobuff(' '); } } |