patch 8.1.0271: 'incsearch' doesn't work for :s, :g or :v
Problem: 'incsearch' doesn't work for :s, :g or :v.
Solution: Also use 'incsearch' for other commands that use a pattern.
diff --git a/src/globals.h b/src/globals.h
index 9cf8455..5876329 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -345,9 +345,13 @@
* 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 */