mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 19:18:34 +00:00
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -3610,8 +3610,7 @@ const char *set_one_cmd_context(expand_T *xp, const char *buff)
|
||||
// EX_XFILE: file names are handled above.
|
||||
if (!(ea.argt & EX_XFILE)) {
|
||||
if (context == EXPAND_MENUS) {
|
||||
return (const char *)set_context_in_menu_cmd(xp, cmd,
|
||||
(char_u *)arg, forceit);
|
||||
return (const char *)set_context_in_menu_cmd(xp, cmd, (char *)arg, forceit);
|
||||
} else if (context == EXPAND_COMMANDS) {
|
||||
return arg;
|
||||
} else if (context == EXPAND_MAPPINGS) {
|
||||
@@ -3717,7 +3716,7 @@ const char *set_one_cmd_context(expand_T *xp, const char *buff)
|
||||
case CMD_tunmenu:
|
||||
case CMD_popup:
|
||||
case CMD_emenu:
|
||||
return (const char *)set_context_in_menu_cmd(xp, cmd, (char_u *)arg, forceit);
|
||||
return (const char *)set_context_in_menu_cmd(xp, cmd, (char *)arg, forceit);
|
||||
|
||||
case CMD_colorscheme:
|
||||
xp->xp_context = EXPAND_COLORS;
|
||||
|
Reference in New Issue
Block a user