aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
authorRom Grk <romgrk.cc@gmail.com>2020-10-24 04:56:43 -0400
committerRom Grk <romgrk.cc@gmail.com>2020-10-24 04:56:43 -0400
commitd4033db6a0a3b9e1f33ca3760377c8a637e80c85 (patch)
tree573426ec6baaa183d7036024ec1c68ccbb067ecc /src/nvim/normal.c
parentb83d8223ffee099634a4352443cb56a94ebfcc22 (diff)
downloadrneovim-d4033db6a0a3b9e1f33ca3760377c8a637e80c85.tar.gz
rneovim-d4033db6a0a3b9e1f33ca3760377c8a637e80c85.tar.bz2
rneovim-d4033db6a0a3b9e1f33ca3760377c8a637e80c85.zip
scroll: cleanup unnecessary code & comments
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index eb15204c63..80ed9bd2b6 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -1195,8 +1195,6 @@ static void normal_check_interrupt(NormalState *s)
static void normal_check_window_scrolled(NormalState *s)
{
- // XXX why is has_event necessary?
-
// Trigger Scroll if the window moved.
if (!finish_op && has_event(EVENT_SCROLL)
&& (curwin->w_last_topline != curwin->w_topline ||