diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-07-08 00:08:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-08 00:08:21 +0200 |
commit | 57fafcea23e2609e40ecacf27b2d68add9b1f7e9 (patch) | |
tree | 5261d02299702681979fb846f6dbe62d811f77d0 /src/nvim/message.c | |
parent | 378d5f0fa3945712c012accf9cdc3d8a17e2a168 (diff) | |
parent | a5ed46024185c817e3cc0f38b13b302fdf7a863a (diff) | |
download | rneovim-57fafcea23e2609e40ecacf27b2d68add9b1f7e9.tar.gz rneovim-57fafcea23e2609e40ecacf27b2d68add9b1f7e9.tar.bz2 rneovim-57fafcea23e2609e40ecacf27b2d68add9b1f7e9.zip |
Merge #8702 from janlazo/nvim-8.0.0654
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". */ |