mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
vim-patch:8.2.1898: command modifier parsing always uses global cmdmod
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
e100440158
This commit is contained in:
@@ -148,7 +148,7 @@ static void changed_common(linenr_T lnum, colnr_T col, linenr_T lnume, linenr_T
|
||||
}
|
||||
|
||||
// set the '. mark
|
||||
if (!cmdmod.keepjumps) {
|
||||
if ((cmdmod.cmod_flags & CMOD_KEEPJUMPS) == 0) {
|
||||
RESET_FMARK(&curbuf->b_last_change, ((pos_T) { lnum, col, 0 }), 0);
|
||||
|
||||
// Create a new entry if a new undo-able change was started or we
|
||||
|
Reference in New Issue
Block a user