mirror of
https://github.com/neovim/neovim.git
synced 2026-07-15 22:00:40 +00:00
vim-patch:ecba601: runtime(doc): fix a few small problems (#39969)
closes: vim/vim#20287
ecba601e3f
This commit is contained in:
@@ -885,7 +885,7 @@ static void tree_count_words(const uint8_t *byts, int byts_len, idx_T *idxs)
|
||||
wordcount[depth]++;
|
||||
|
||||
// Skip over any other NUL bytes (same word with different
|
||||
// flags). But don't go over the end
|
||||
// flags). But don't go over the end.
|
||||
while (n + 1 < byts_len && byts[n + 1] == 0) {
|
||||
n++;
|
||||
curi[depth]++;
|
||||
@@ -4956,7 +4956,7 @@ static int sug_filltree(spellinfo_T *spin, slang_T *slang)
|
||||
spin->si_blocks_cnt = 0;
|
||||
|
||||
// Skip over any other NUL bytes (same word with different
|
||||
// flags). But don't go over the end
|
||||
// flags). But don't go over the end.
|
||||
while (n + 1 < slang->sl_fbyts_len && byts[n + 1] == 0) {
|
||||
n++;
|
||||
curi[depth]++;
|
||||
|
||||
Reference in New Issue
Block a user