mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:8.0.1419: cursor column is not updated after ]s
Problem: Cursor column is not updated after ]s. (Gary Johnson)
Solution: Set the curswant flag.
b73fa629d6
This commit is contained in:
@@ -15538,6 +15538,7 @@ static void f_spellbadword(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
len = spell_move_to(curwin, FORWARD, true, true, &attr);
|
||||
if (len != 0) {
|
||||
word = (char *)get_cursor_pos_ptr();
|
||||
curwin->w_set_curswant = true;
|
||||
}
|
||||
} else if (curwin->w_p_spell && *curbuf->b_s.b_p_spl != NUL) {
|
||||
const char *str = tv_get_string_chk(&argvars[0]);
|
||||
|
Reference in New Issue
Block a user