mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00
cleanup: reduce some duplicate code, avoid function pointers for a condition
Add 'multiline' flag to history for correct :messages output Use larger buffer size for multiline messages. if this turns out to not be enough, we could do size calculation like api_set_error
This commit is contained in:
@@ -19593,7 +19593,7 @@ void ex_echo(exarg_T *eap)
|
||||
msg_puts_attr(" ", echo_attr);
|
||||
}
|
||||
char *tofree = encode_tv2echo(&rettv, NULL);
|
||||
msg_echo_show(tofree, echo_attr);
|
||||
msg_multiline_attr(tofree, echo_attr);
|
||||
xfree(tofree);
|
||||
}
|
||||
tv_clear(&rettv);
|
||||
|
Reference in New Issue
Block a user