mirror of
https://github.com/neovim/neovim.git
synced 2025-12-03 07:23:05 +00:00
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)
e1edc1caba
This commit is contained in:
@@ -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(' ');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user