mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 9.0.1329: completion of map includes simplified ones
Problem: Completion of map includes simplified ones. Solution: Do not complete simplified mappings. (closes #12013)
This commit is contained in:
@@ -180,7 +180,7 @@ showmap(
|
||||
len = msg_outtrans_special(mp->m_keys, TRUE, 0);
|
||||
do
|
||||
{
|
||||
msg_putchar(' '); // padd with blanks
|
||||
msg_putchar(' '); // pad with blanks
|
||||
++len;
|
||||
} while (len < 12);
|
||||
|
||||
@@ -1445,7 +1445,7 @@ ExpandMappings(
|
||||
mp = maphash[hash];
|
||||
for (; mp; mp = mp->m_next)
|
||||
{
|
||||
if (!(mp->m_mode & expand_mapmodes))
|
||||
if (mp->m_simplified || !(mp->m_mode & expand_mapmodes))
|
||||
continue;
|
||||
|
||||
p = translate_mapping(mp->m_keys);
|
||||
|
Reference in New Issue
Block a user