diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-12-27 17:21:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-27 17:21:41 +0000 |
commit | af4a61a85d6e8cacc35324f266934bc463a21673 (patch) | |
tree | 3b2e75b8a36bc8e79d2bc407d929a84b69fd0e0c /src/spell.c | |
parent | 5da36052a4bb0f3a9747ec3a8ab9d85e058e39fa (diff) | |
download | vim-git-af4a61a85d6e8cacc35324f266934bc463a21673.tar.gz |
patch 8.2.3914: various spelling mistakes in commentsv8.2.3914
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
Diffstat (limited to 'src/spell.c')
-rw-r--r-- | src/spell.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/spell.c b/src/spell.c index 9b2d3e89f..857a79344 100644 --- a/src/spell.c +++ b/src/spell.c @@ -1501,7 +1501,7 @@ spell_move_to( /* * For spell checking: concatenate the start of the following line "line" into - * "buf", blanking-out special characters. Copy less then "maxlen" bytes. + * "buf", blanking-out special characters. Copy less than "maxlen" bytes. * Keep the blanks at the start of the next line, this is used in win_line() * to skip those bytes if the word was OK. */ @@ -3260,7 +3260,7 @@ spell_soundfold_sal(slang_T *slang, char_u *inword, char_u *res) for (; (s = smp[n].sm_lead)[0] == c; ++n) { // Quickly skip entries that don't match the word. Most - // entries are less then three chars, optimize for that. + // entries are less than three chars, optimize for that. k = smp[n].sm_leadlen; if (k > 1) { @@ -3551,7 +3551,7 @@ spell_soundfold_wsal(slang_T *slang, char_u *inword, char_u *res) && ws[0] != NUL; ++n) { // Quickly skip entries that don't match the word. Most - // entries are less then three chars, optimize for that. + // entries are less than three chars, optimize for that. if (c != ws[0]) continue; k = smp[n].sm_leadlen; @@ -4033,7 +4033,7 @@ spell_dump_compl( arridx[depth] = idxs[n]; curi[depth] = 1; - // Check if this characters matches with the pattern. + // Check if this character matches with the pattern. // If not skip the whole tree below it. // Always ignore case here, dump_word() will check // proper case later. This isn't exactly right when |