mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00

committed by
Justin M. Keyes

parent
6ed6d8d910
commit
a743297be2
@@ -2173,11 +2173,12 @@ spell_move_to (
|
|||||||
if (attrp != NULL)
|
if (attrp != NULL)
|
||||||
*attrp = attr;
|
*attrp = attr;
|
||||||
return len;
|
return len;
|
||||||
} else if (curline)
|
} else if (curline) {
|
||||||
// Insert mode completion: put cursor after
|
// Insert mode completion: put cursor after
|
||||||
// the bad word.
|
// the bad word.
|
||||||
assert(len <= INT_MAX);
|
assert(len <= INT_MAX);
|
||||||
found_pos.col += (int)len;
|
found_pos.col += (int)len;
|
||||||
|
}
|
||||||
found_len = len;
|
found_len = len;
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
Reference in New Issue
Block a user