mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
move: drop has_mbyte check
has_mbyte is always true in nvim.
This commit is contained in:
parent
e1fa242a6c
commit
1a43aef9ec
@ -2168,9 +2168,7 @@ void do_check_cursorbind(void)
|
|||||||
restart_edit = restart_edit_save;
|
restart_edit = restart_edit_save;
|
||||||
}
|
}
|
||||||
// Correct cursor for multi-byte character.
|
// Correct cursor for multi-byte character.
|
||||||
if (has_mbyte) {
|
mb_adjust_cursor();
|
||||||
mb_adjust_cursor();
|
|
||||||
}
|
|
||||||
redraw_later(VALID);
|
redraw_later(VALID);
|
||||||
|
|
||||||
// Only scroll when 'scrollbind' hasn't done this.
|
// Only scroll when 'scrollbind' hasn't done this.
|
||||||
|
Loading…
Reference in New Issue
Block a user