diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-21 14:40:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-21 14:40:32 +0200 |
commit | 9d0f8224c97b36116f3c0523bcf6941382892a5b (patch) | |
tree | 474781d9dd71c62ab9377faa1641321c173f1a85 /src/nvim/normal.c | |
parent | d20bbc802245cc14176028bf209ae3a7e81e21c4 (diff) | |
parent | a63b95b315673354df9c42efcff248cacca45669 (diff) | |
download | rneovim-9d0f8224c97b36116f3c0523bcf6941382892a5b.tar.gz rneovim-9d0f8224c97b36116f3c0523bcf6941382892a5b.tar.bz2 rneovim-9d0f8224c97b36116f3c0523bcf6941382892a5b.zip |
Merge #10555 from janlazo/vim-8.1.1720
vim-patch:8.1.{856,1720}
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 83853302b4..d33c5d33bb 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -4038,6 +4038,9 @@ static void nv_mousescroll(cmdarg_T *cap) } else { mouse_scroll_horiz(cap->arg); } + if (curwin != old_curwin && curwin->w_p_cul) { + redraw_for_cursorline(curwin); + } curwin->w_redr_status = true; |