mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
refactor: remove CPO_TO_CPO_FLAGS() (#26718)
Just pass p_cpo to replace_termcodes() directly. This allows removing option_vars.h from keycodes.h, and also avoids the mistake of passing 0 as cpo_flags.
This commit is contained in:
@@ -226,7 +226,7 @@ void ex_menu(exarg_T *eap)
|
||||
} else {
|
||||
map_buf = NULL;
|
||||
map_to = replace_termcodes(map_to, strlen(map_to), &map_buf, 0,
|
||||
REPTERM_DO_LT, NULL, CPO_TO_CPO_FLAGS);
|
||||
REPTERM_DO_LT, NULL, p_cpo);
|
||||
}
|
||||
menuarg.modes = modes;
|
||||
menuarg.noremap[0] = noremap;
|
||||
|
Reference in New Issue
Block a user