diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-03-14 14:00:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 14:00:56 +0100 |
commit | d1e0f7454b5fc61d26db5af5ce00c1894e7c49fc (patch) | |
tree | ef972775c047745b19db5c06e1e490090d3a26f0 /src/nvim/move.c | |
parent | 4f7879dff0f0dc22ddf4cb2a2095b88605a3bab0 (diff) | |
parent | d6ecead36406233cc56353dd05f3380f0497630f (diff) | |
download | rneovim-d1e0f7454b5fc61d26db5af5ce00c1894e7c49fc.tar.gz rneovim-d1e0f7454b5fc61d26db5af5ce00c1894e7c49fc.tar.bz2 rneovim-d1e0f7454b5fc61d26db5af5ce00c1894e7c49fc.zip |
Merge pull request #22666 from bfredl/unscreen
refactor(screen): screen.c delenda est
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r-- | src/nvim/move.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c index 6d55955927..1f55362354 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -41,7 +41,6 @@ #include "nvim/plines.h" #include "nvim/popupmenu.h" #include "nvim/pos.h" -#include "nvim/screen.h" #include "nvim/search.h" #include "nvim/strings.h" #include "nvim/types.h" @@ -104,18 +103,6 @@ static void comp_botline(win_T *wp) win_check_anchored_floats(wp); } -/// Redraw when w_cline_row changes and 'relativenumber' or 'cursorline' is set. -/// Also when concealing is on and 'concealcursor' is not active. -void redraw_for_cursorline(win_T *wp) - FUNC_ATTR_NONNULL_ALL -{ - if ((wp->w_valid & VALID_CROW) == 0 && !pum_visible() - && (wp->w_p_rnu || win_cursorline_standout(wp))) { - // win_line() will redraw the number column and cursorline only. - redraw_later(wp, UPD_VALID); - } -} - /// Redraw when w_virtcol changes and 'cursorcolumn' is set or 'cursorlineopt' /// contains "screenline" or when the "CurSearch" highlight is in use. /// Also when concealing is on and 'concealcursor' is active. |