aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
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;
}