From b2f7a3aaad72fa01dc1230f246c26d878f5a41a6 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 14 Feb 2024 06:39:47 +0800 Subject: 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 --- src/nvim/regexp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/nvim') 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; } -- cgit