Skip to content

Commit

Permalink
vim-patch:9.1.0105: Style: typos found (neovim#27462)
Browse files Browse the repository at this point in the history
Problem:  Style: typos found
Solution: correct them
          (zeertzjq)

closes: vim/vim#14023

vim/vim@e710220
  • Loading branch information
zeertzjq authored Feb 13, 2024
1 parent 9f8c962 commit b2f7a3a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/nvim/regexp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion test/old/testdir/test_mapping.vim
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func Test_map_langmap()
unmap x
bwipe!

" 'langnoremap' follows 'langremap' and vise versa
" 'langnoremap' follows 'langremap' and vice versa
set langremap
set langnoremap
call assert_equal(0, &langremap)
Expand Down
2 changes: 1 addition & 1 deletion test/old/testdir/test_utf8_comparisons.vim
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func Test_gap()
call assert_equal(["ABCD", "", "defg"], getline(1,3))
endfunc

" test that g~, ~ and gU correclty upper-cases ß
" test that g~, ~ and gU correctly upper-cases ß
func Test_uppercase_sharp_ss()
new
call setline(1, repeat(['ß'], 4))
Expand Down
2 changes: 1 addition & 1 deletion test/old/testdir/test_visual.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ endfunc
" Test for changing case
func Test_visual_change_case()
new
" gUe must uppercase a whole word, also when ß changes to SS
" gUe must uppercase a whole word, also when ß changes to
exe "normal Gothe youtußeuu end\<Esc>Ypk0wgUe\r"
" gUfx must uppercase until x, inclusive.
exe "normal O- youßtußexu -\<Esc>0fogUfx\r"
Expand Down

0 comments on commit b2f7a3a

Please sign in to comment.