summaryrefslogtreecommitdiff
path: root/src/proto/search.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-21 21:30:52 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-21 21:30:52 +0100
commitc036e87bd7001238ab7cc5d9e30e59bbf989a5fd (patch)
tree2ed9e85172f565706463cee71e7ad6a93637297a /src/proto/search.pro
parent5b1c8fe3d588ab450d4646a0088db4efda88200a (diff)
downloadvim-git-c036e87bd7001238ab7cc5d9e30e59bbf989a5fd.tar.gz
patch 8.2.0295: highlighting for :s wrong when using different separatorv8.2.0295
Problem: Highlighting for :s wrong when using different separator. Solution: Use separat argument for search direction and separator. (Rob Pilling, closes #5665)
Diffstat (limited to 'src/proto/search.pro')
-rw-r--r--src/proto/search.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/search.pro b/src/proto/search.pro
index e6ac11b2c..018c33a4f 100644
--- a/src/proto/search.pro
+++ b/src/proto/search.pro
@@ -24,7 +24,7 @@ void set_last_search_pat(char_u *s, int idx, int magic, int setlast);
void last_pat_prog(regmmatch_T *regmatch);
int searchit(win_T *win, buf_T *buf, pos_T *pos, pos_T *end_pos, int dir, char_u *pat, long count, int options, int pat_use, searchit_arg_T *extra_arg);
void set_search_direction(int cdir);
-int do_search(oparg_T *oap, int dirc, char_u *pat, long count, int options, searchit_arg_T *sia);
+int do_search(oparg_T *oap, int dirc, int search_delim, char_u *pat, long count, int options, searchit_arg_T *sia);
int search_for_exact_line(buf_T *buf, pos_T *pos, int dir, char_u *pat);
int searchc(cmdarg_T *cap, int t_cmd);
pos_T *findmatch(oparg_T *oap, int initc);