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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user