diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-09-15 15:42:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-09-15 15:42:40 +0200 |
commit | 50eb16c3b23235b21ce4494673a7741a9a196176 (patch) | |
tree | 3b0fde54dd33ed6f20c3755c6860309f60012cf6 /src/ex_getln.c | |
parent | ac49f61a206217e94438b7b51bbfcae79b8a2a19 (diff) | |
download | vim-git-50eb16c3b23235b21ce4494673a7741a9a196176.tar.gz |
patch 8.1.0392: error while typing :/foo/s// with 'incsearch' enabledv8.1.0392
Problem: Error while typing :/foo/s// with 'incsearch' enabled.
Solution: Do not give search errors when highlighting matches.
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index a72b9a409..8f3833162 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -388,7 +388,7 @@ do_incsearch_highlighting(int firstc, incsearch_state_T *is_state, // 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. |