mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
vim-patch:9.0.1329: completion of map includes simplified ones (#22335)
Problem: Completion of map includes simplified ones.
Solution: Do not complete simplified mappings. (closes vim/vim#12013)
997b8a015c
This commit is contained in:
@@ -1342,7 +1342,7 @@ int ExpandMappings(char *pat, regmatch_T *regmatch, int *numMatches, char ***mat
|
||||
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user