diff options
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r-- | src/nvim/move.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c index 447926ceb8..c93c94f8c5 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -2328,9 +2328,10 @@ void cursor_correct(void) curwin->w_viewport_invalid = true; } -// Move screen "count" pages up or down and update screen. -// -// Return FAIL for failure, OK otherwise. +/// Move screen "count" pages up ("dir" is BACKWARD) or down ("dir" is FORWARD) +/// and update the screen. +/// +/// @return FAIL for failure, OK otherwise. int onepage(Direction dir, long count) { long n; |