diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-06-14 21:57:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 21:57:08 +0800 |
commit | 8ba64dd3ad1822efd6f986349e99f5f85afd7be7 (patch) | |
tree | 66b2987707cf6616614fb251d7e342ccdfd96c28 /src/nvim/change.c | |
parent | 2a2fb8be74f9147773416be63334ea6a74c66869 (diff) | |
parent | 0a0cda95286bf62fbce2776a0c0081cea39a88a8 (diff) | |
download | rneovim-8ba64dd3ad1822efd6f986349e99f5f85afd7be7.tar.gz rneovim-8ba64dd3ad1822efd6f986349e99f5f85afd7be7.tar.bz2 rneovim-8ba64dd3ad1822efd6f986349e99f5f85afd7be7.zip |
Merge pull request #18947 from zeertzjq/vim-8.2.1897
vim-patch:8.2.{1897,1898,5088}
Diffstat (limited to 'src/nvim/change.c')
-rw-r--r-- | src/nvim/change.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/change.c b/src/nvim/change.c index 21afbf66de..c0796386f1 100644 --- a/src/nvim/change.c +++ b/src/nvim/change.c @@ -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 |