mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +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:
@@ -78,6 +78,7 @@ typedef struct msg_hist {
|
||||
struct msg_hist *next; ///< Next message.
|
||||
char_u *msg; ///< Message text.
|
||||
int attr; ///< Message highlighting.
|
||||
bool multiline; ///< Multiline message.
|
||||
} MessageHistoryEntry;
|
||||
|
||||
/// First message
|
||||
|
Reference in New Issue
Block a user