mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
vim-patch:9.0.1687: mapset() not properly handling script ID (#24666)
Problem: mapset() not properly handling script ID
Solution: replace_termcodes() may accept a script ID
closes: vim/vim#12699
closes: vim/vim#12697
7e0bae024d
This commit is contained in:
@@ -232,7 +232,7 @@ void ex_menu(exarg_T *eap)
|
||||
map_buf = NULL; // Menu tips are plain text.
|
||||
} else {
|
||||
map_buf = NULL;
|
||||
map_to = replace_termcodes(map_to, strlen(map_to), &map_buf,
|
||||
map_to = replace_termcodes(map_to, strlen(map_to), &map_buf, 0,
|
||||
REPTERM_DO_LT, NULL, CPO_TO_CPO_FLAGS);
|
||||
}
|
||||
menuarg.modes = modes;
|
||||
|
Reference in New Issue
Block a user