aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-14 06:39:47 +0800
committerGitHub <noreply@github.com>2024-02-14 06:39:47 +0800
commitb2f7a3aaad72fa01dc1230f246c26d878f5a41a6 (patch)
treecec7ae585163c27780d0927d5c348037521b6722 /src/nvim/regexp.c
parent9f8c96240dc0318bd92a646966917e8fe0641144 (diff)
downloadrneovim-b2f7a3aaad72fa01dc1230f246c26d878f5a41a6.tar.gz
rneovim-b2f7a3aaad72fa01dc1230f246c26d878f5a41a6.tar.bz2
rneovim-b2f7a3aaad72fa01dc1230f246c26d878f5a41a6.zip
vim-patch:9.1.0105: Style: typos found (#27462)
Problem: Style: typos found Solution: correct them (zeertzjq) closes: vim/vim#14023 https://github.com/vim/vim/commit/e71022082d6a8bd8ec3d7b9dadf3f9ce46ef339c
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r--src/nvim/regexp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index 37f672fc86..86082adbb6 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -1365,8 +1365,7 @@ static bool reg_match_visual(void)
top = curbuf->b_visual.vi_end;
bot = curbuf->b_visual.vi_start;
}
- // a substitue command may have
- // removed some lines
+ // a substitute command may have removed some lines
if (bot.lnum > curbuf->b_ml.ml_line_count) {
bot.lnum = curbuf->b_ml.ml_line_count;
}