From e24b4aba1fbf782954897abdbfc084c4221428eb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 16 Sep 2022 20:51:14 +0100 Subject: patch 9.0.0482: "g0" moves to wrong location with virtual text "above" Problem: "g0" moves to wrong location with virtual text "above". Solution: Compensate for the extra columns. (closes #11141) Also fix "g$" --- src/proto/move.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/proto') diff --git a/src/proto/move.pro b/src/proto/move.pro index f9787d6a6..de8bf51e1 100644 --- a/src/proto/move.pro +++ b/src/proto/move.pro @@ -2,6 +2,7 @@ void redraw_for_cursorline(win_T *wp); void update_topline_redraw(void); void update_topline(void); +void update_curswant_force(void); void update_curswant(void); void check_cursor_moved(win_T *wp); void changed_window_setting(void); -- cgit v1.2.1