aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-04-15 12:35:06 +0200
committerGitHub <noreply@github.com>2022-04-15 12:35:06 +0200
commite63e5d1dbd3dd4711efa0ecf9e844ff308b370a6 (patch)
treea05cf2f0a352b6bf3db38e5c7a57842615cc4a48 /src/nvim/normal.c
parent4503cb6b642e0b1ba8157154af6a220387e607f0 (diff)
downloadrneovim-e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6.tar.gz
rneovim-e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6.tar.bz2
rneovim-e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6.zip
docs: typo fixes (#17859)
Co-authored-by: Elias Alves Moura <eliamoura.alves@gmail.com> Co-authored-by: venkatesh <shariharanvenkatesh@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Vikas Raj <24727447+numToStr@users.noreply.github.com> Co-authored-by: Steve Vermeulen <sfvermeulen@gmail.com> Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: rwxd <rwxd@pm.me> Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index a8769c4c80..d6b3b53c86 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -4533,7 +4533,7 @@ static void nv_scroll(cmdarg_T *cap)
validate_botline(curwin); // make sure w_empty_rows is valid
half = (curwin->w_height_inner - curwin->w_empty_rows + 1) / 2;
for (n = 0; curwin->w_topline + n < curbuf->b_ml.ml_line_count; n++) {
- // Count half he number of filler lines to be "below this
+ // Count half the number of filler lines to be "below this
// line" and half to be "above the next line".
if (n > 0 && used + win_get_fill(curwin, curwin->w_topline + n) / 2 >= half) {
n--;