patch 8.1.0392: error while typing :/foo/s// with 'incsearch' enabled
Problem: Error while typing :/foo/s// with 'incsearch' enabled.
Solution: Do not give search errors when highlighting matches.
diff --git a/src/ex_getln.c b/src/ex_getln.c
index a72b9a4..8f38331 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -388,7 +388,7 @@
// parse the address range
save_cursor = curwin->w_cursor;
curwin->w_cursor = is_state->search_start;
- parse_cmd_address(&ea, &dummy);
+ parse_cmd_address(&ea, &dummy, TRUE);
if (ea.addr_count > 0)
{
// Allow for reverse match.