mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 12:38:33 +00:00
vim-patch:8.2.3914 (#16808)
* vim-patch:8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes vim/vim#9416)
af4a61a85d
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@@ -4395,7 +4395,7 @@ static int write_vim_spell(spellinfo_T *spin, char_u *fname)
|
||||
//
|
||||
// The table with character flags and the table for case folding.
|
||||
// This makes sure the same characters are recognized as word characters
|
||||
// when generating an when using a spell file.
|
||||
// when generating and when using a spell file.
|
||||
// Skip this for ASCII, the table may conflict with the one used for
|
||||
// 'encoding'.
|
||||
// Also skip this for an .add.spl file, the main spell file must contain
|
||||
@@ -5122,7 +5122,7 @@ static int sug_filltable(spellinfo_T *spin, wordnode_T *node, int startwordnr, g
|
||||
wordnr++;
|
||||
|
||||
// Remove extra NUL entries, we no longer need them. We don't
|
||||
// bother freeing the nodes, the won't be reused anyway.
|
||||
// bother freeing the nodes, they won't be reused anyway.
|
||||
while (p->wn_sibling != NULL && p->wn_sibling->wn_byte == NUL) {
|
||||
p->wn_sibling = p->wn_sibling->wn_sibling;
|
||||
}
|
||||
|
Reference in New Issue
Block a user