mirror of
https://github.com/neovim/neovim.git
synced 2025-10-14 05:46:12 +00:00
refactor(messages): fold msg_attr into msg
problem: there are too many different functions in message.c solution: fold some of the functions into themselves
This commit is contained in:
@@ -1352,7 +1352,7 @@ static void list_one_var(dictitem_T *v, const char *prefix, int *first)
|
||||
static void list_one_var_a(const char *prefix, const char *name, const ptrdiff_t name_len,
|
||||
const VarType type, const char *string, int *first)
|
||||
{
|
||||
// don't use msg() or msg_attr() to avoid overwriting "v:statusmsg"
|
||||
// don't use msg() to avoid overwriting "v:statusmsg"
|
||||
msg_start();
|
||||
msg_puts(prefix);
|
||||
if (name != NULL) { // "a:" vars don't have a name stored
|
||||
|
Reference in New Issue
Block a user