From 1a43aef9ecd62a0c03a4702cfb827369d229f748 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 10 Sep 2018 23:01:42 -0400 Subject: [PATCH] move: drop has_mbyte check has_mbyte is always true in nvim. --- src/nvim/move.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/nvim/move.c b/src/nvim/move.c index 4261a52054..f921b761a5 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -2168,9 +2168,7 @@ void do_check_cursorbind(void) restart_edit = restart_edit_save; } // Correct cursor for multi-byte character. - if (has_mbyte) { - mb_adjust_cursor(); - } + mb_adjust_cursor(); redraw_later(VALID); // Only scroll when 'scrollbind' hasn't done this.