0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0581: adding a character for incsearch fails at end of line

Problem:    Adding a character for incsearch fails at end of line.
Solution:   Only check cursor line number.
This commit is contained in:
Bram Moolenaar
2022-09-24 21:06:39 +01:00
parent 1d61408af3
commit d4566c14e7
2 changed files with 3 additions and 1 deletions

View File

@@ -683,7 +683,7 @@ cursor_valid(void)
void
validate_cursor(void)
{
check_cursor();
check_cursor_lnum();
check_cursor_moved(curwin);
if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW))
curs_columns(TRUE);