summaryrefslogtreecommitdiffstats
path: root/src/proto/message.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-11 19:12:04 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-11 19:12:04 +0200
commitcc7eb2aa7a7f2e6ae41f1e7cf60965c083d8a9e9 (patch)
tree5d54a35c88c61f041e7cdd16ba3ad9aa40a084ef /src/proto/message.pro
parent5231224e11bf468f5366a7400414368908c40795 (diff)
patch 8.2.3149: some plugins have a problem with the error checkv8.2.3149
Problem: Some plugins have a problem with the error check for using :command with -complete but without -nargs. Solution: In legacy script only give a warning message.
Diffstat (limited to 'src/proto/message.pro')
-rw-r--r--src/proto/message.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/message.pro b/src/proto/message.pro
index 16c3354840..d3ec949030 100644
--- a/src/proto/message.pro
+++ b/src/proto/message.pro
@@ -69,6 +69,7 @@ void verbose_leave_scroll(void);
void verbose_stop(void);
int verbose_open(void);
void give_warning(char_u *message, int hl);
+void give_warning_with_source(char_u *message, int hl, int with_source);
void give_warning2(char_u *message, char_u *a1, int hl);
void msg_advance(int col);
int do_dialog(int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd);