diff options
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 097c8b16e4..9d4d421941 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -2763,6 +2763,12 @@ void give_warning(char_u *message, bool hl) FUNC_ATTR_NONNULL_ARG(1) --no_wait_return; } +void give_warning2(char_u *const message, char_u *const a1, bool hl) +{ + vim_snprintf((char *)IObuff, IOSIZE, (char *)message, a1); + give_warning(IObuff, hl); +} + /* * Advance msg cursor to column "col". */ |