diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-11 16:40:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-11 16:40:43 +0200 |
commit | b0acacd767a2b0618a7f3c08087708f4329580d0 (patch) | |
tree | 9154e5f4fb75605e0342e90c53b4e529b05fc621 /src/globals.h | |
parent | b31a3acce13231643b006988c1ce76b8a12b2982 (diff) |
patch 8.1.0271: 'incsearch' doesn't work for :s, :g or :vv8.1.0271
Problem: 'incsearch' doesn't work for :s, :g or :v.
Solution: Also use 'incsearch' for other commands that use a pattern.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/globals.h b/src/globals.h index 9cf8455bc8..58763295a7 100644 --- a/src/globals.h +++ b/src/globals.h @@ -345,9 +345,13 @@ EXTERN int t_colors INIT(= 0); /* int value of T_CCO */ * a match within one line), search_match_endcol the column number of the * character just after the match in the last line. */ -EXTERN int highlight_match INIT(= FALSE); /* show search match pos */ -EXTERN linenr_T search_match_lines; /* lines of of matched string */ -EXTERN colnr_T search_match_endcol; /* col nr of match end */ +EXTERN int highlight_match INIT(= FALSE); // show search match pos +EXTERN linenr_T search_match_lines; // lines of of matched string +EXTERN colnr_T search_match_endcol; // col nr of match end +#ifdef FEAT_SEARCH_EXTRA +EXTERN linenr_T search_first_line INIT(= 0); // for :{FIRST},{last}s/pat +EXTERN linenr_T search_last_line INIT(= MAXLNUM); // for :{first},{LAST}s/pat +#endif EXTERN int no_smartcase INIT(= FALSE); /* don't use 'smartcase' once */ |