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
@ -66,18 +66,19 @@ void popupmenu_hide(void)
|
|||||||
void popupmenu_select(Integer selected)
|
void popupmenu_select(Integer selected)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
void tabline_update(Tabpage current, Array tabs)
|
void tabline_update(Tabpage current, Array tabs)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
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,
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
Integer indent, Integer level)
|
||||||
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
void cmdline_pos(Integer pos, Integer level)
|
void cmdline_pos(Integer pos, Integer level)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
void cmdline_char(String c, Integer shift, Integer level)
|
void cmdline_char(String c, Integer shift, Integer level)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
void cmdline_hide(Integer level)
|
void cmdline_hide(Integer level)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
void cmdline_function_show(void)
|
void cmdline_function_show(void)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
void cmdline_function_hide(void)
|
void cmdline_function_hide(void)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
|
|
||||||
#endif // NVIM_API_UI_EVENTS_IN_H
|
#endif // NVIM_API_UI_EVENTS_IN_H
|
||||||
|
@ -19873,7 +19873,7 @@ void ex_function(exarg_T *eap)
|
|||||||
goto erret;
|
goto erret;
|
||||||
|
|
||||||
if (!ui_is_external(kUICmdline)) {
|
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;
|
cmdline_row = msg_row;
|
||||||
}
|
}
|
||||||
|
@ -2744,11 +2744,12 @@ void putcmdline(int c, int shift)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!ui_is_external(kUICmdline)) {
|
if (!ui_is_external(kUICmdline)) {
|
||||||
msg_no_more = TRUE;
|
msg_no_more = true;
|
||||||
msg_putchar(c);
|
msg_putchar(c);
|
||||||
if (shift)
|
if (shift) {
|
||||||
draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
|
draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
|
||||||
msg_no_more = FALSE;
|
}
|
||||||
|
msg_no_more = false;
|
||||||
} else {
|
} else {
|
||||||
ui_call_cmdline_char(cchar_to_string((char)(c)), shift, ccline.level);
|
ui_call_cmdline_char(cchar_to_string((char)(c)), shift, ccline.level);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user