mirror of
https://github.com/vim/vim.git
synced 2025-10-09 06:14:17 -04:00
patch 8.2.0295: highlighting for :s wrong when using different separator
Problem: Highlighting for :s wrong when using different separator. Solution: Use separat argument for search direction and separator. (Rob Pilling, closes #5665)
This commit is contained in:
@@ -2861,7 +2861,7 @@ ex_spellrepall(exarg_T *eap UNUSED)
|
||||
curwin->w_cursor.lnum = 0;
|
||||
while (!got_int)
|
||||
{
|
||||
if (do_search(NULL, '/', frompat, 1L, SEARCH_KEEP, NULL) == 0
|
||||
if (do_search(NULL, '/', '/', frompat, 1L, SEARCH_KEEP, NULL) == 0
|
||||
|| u_save_cursor() == FAIL)
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user