summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-26 12:29:43 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-26 12:29:43 +0100
commitabeb09b2c53054513812d1e56716e2a5abe8f354 (patch)
treef39b515cb9e164b9f03b935f524e191f5822c97a /src/map.c
parent87f74106f96737e7b8ceaafe1a131aa718077de6 (diff)
patch 8.2.4828: fix for unmapping simplified key not fully testedv8.2.4828
Problem: Fix for unmapping simplified key not fully tested. Solution: Add a test case. (closes #10292)
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.c b/src/map.c
index ea7567e8d5..186550a1f5 100644
--- a/src/map.c
+++ b/src/map.c
@@ -726,6 +726,8 @@ do_map(
mpp = &(mp->m_next);
continue;
}
+ // In keyround for simplified keys, don't unmap
+ // a mapping without m_simplified flag.
if (keyround1_simplified && !mp->m_simplified)
break;
// We reset the indicated mode bits. If nothing