diff options
| author | bfredl <bjorn.linse@gmail.com> | 2023-09-27 22:21:17 +0200 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2023-09-27 22:50:49 +0200 |
| commit | b85f1dafc7c0a19704135617454f1c66f41202c1 (patch) | |
| tree | ce478ebdce2efaac4ff9f16e86bce556e2ef1e7d /src/nvim/eval | |
| parent | f91cd31d7d9d70006e0000592637d5d997eab52c (diff) | |
| download | rneovim-b85f1dafc7c0a19704135617454f1c66f41202c1.tar.gz rneovim-b85f1dafc7c0a19704135617454f1c66f41202c1.tar.bz2 rneovim-b85f1dafc7c0a19704135617454f1c66f41202c1.zip | |
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
Diffstat (limited to 'src/nvim/eval')
| -rw-r--r-- | src/nvim/eval/vars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/vars.c b/src/nvim/eval/vars.c index 60cf0f8054..8273e8434d 100644 --- a/src/nvim/eval/vars.c +++ b/src/nvim/eval/vars.c @@ -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 |