diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-18 20:53:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-18 20:53:34 +0200 |
commit | 92ea26b925a0835badb0af2d5887238a4198cabb (patch) | |
tree | 0ed45513ea242aa5c252f84cc00cf59b155b38e3 /src/insexpand.c | |
parent | 7751d1d1a3d447d0d48f57f34e0da9f7c6ac433d (diff) | |
download | vim-git-92ea26b925a0835badb0af2d5887238a4198cabb.tar.gz |
patch 8.1.2173: searchit() has too many argumentsv8.1.2173
Problem: Searchit() has too many arguments.
Solution: Move optional arguments to a struct. Add the "wrapped" argument.
Diffstat (limited to 'src/insexpand.c')
-rw-r--r-- | src/insexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index 644542e94..31b952bf5 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -2881,7 +2881,7 @@ ins_compl_get_exp(pos_T *ini) found_new_match = searchit(NULL, ins_buf, pos, NULL, compl_direction, compl_pattern, 1L, SEARCH_KEEP + SEARCH_NFMSG, - RE_LAST, (linenr_T)0, NULL, NULL); + RE_LAST, NULL); --msg_silent; if (!compl_started || set_match_pos) { |