diff options
-rw-r--r-- | src/nvim/search.c | 10 | ||||
-rw-r--r-- | src/nvim/version.c | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c index 2dd0201259..c7a1ab3fb1 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -3140,10 +3140,12 @@ current_block ( } if (VIsual_active) { - if (*p_sel == 'e') - ++curwin->w_cursor.col; - if (sol && gchar_cursor() != NUL) - inc(&curwin->w_cursor); /* include the line break */ + if (*p_sel == 'e') { + inc(&curwin->w_cursor); + } + if (sol && gchar_cursor() != NUL) { + inc(&curwin->w_cursor); // include the line break + } VIsual = start_pos; VIsual_mode = 'v'; redraw_curbuf_later(INVERTED); /* update the inversion */ diff --git a/src/nvim/version.c b/src/nvim/version.c index 487f3fc27b..72fafec7df 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -441,7 +441,7 @@ static int included_patches[] = { // 850 NA 849, 848, - // 847, + 847, // 846 NA // 845, // 844, |