mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ext_cmdline: lint
This commit is contained in:
parent
fb389a6b4b
commit
5ad591ef2d
@ -67,7 +67,8 @@ void popupmenu_select(Integer selected)
|
||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||
void tabline_update(Tabpage current, Array tabs)
|
||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||
void cmdline_show(Array content, Integer pos, String firstc, String prompt, Integer indent, Integer level)
|
||||
void cmdline_show(Array content, Integer pos, String firstc, String prompt,
|
||||
Integer indent, Integer level)
|
||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||
void cmdline_pos(Integer pos, Integer level)
|
||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||
|
@ -19873,7 +19873,7 @@ void ex_function(exarg_T *eap)
|
||||
goto erret;
|
||||
|
||||
if (!ui_is_external(kUICmdline)) {
|
||||
msg_putchar('\n'); /* don't overwrite the function name */
|
||||
msg_putchar('\n'); // don't overwrite the function name
|
||||
}
|
||||
cmdline_row = msg_row;
|
||||
}
|
||||
|
@ -2744,11 +2744,12 @@ void putcmdline(int c, int shift)
|
||||
return;
|
||||
}
|
||||
if (!ui_is_external(kUICmdline)) {
|
||||
msg_no_more = TRUE;
|
||||
msg_no_more = true;
|
||||
msg_putchar(c);
|
||||
if (shift)
|
||||
if (shift) {
|
||||
draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
|
||||
msg_no_more = FALSE;
|
||||
}
|
||||
msg_no_more = false;
|
||||
} else {
|
||||
ui_call_cmdline_char(cchar_to_string((char)(c)), shift, ccline.level);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user