mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
refactor: move hashtab types to hashtab_defs.h (#26262)
This commit is contained in:
@@ -3141,8 +3141,7 @@ static void check_suggestions(suginfo_T *su, garray_T *gap)
|
||||
// Need to append what follows to check for "the the".
|
||||
xstrlcpy(longword, stp[i].st_word, MAXWLEN + 1);
|
||||
int len = stp[i].st_wordlen;
|
||||
xstrlcpy(longword + len, su->su_badptr + stp[i].st_orglen,
|
||||
(size_t)(MAXWLEN - len + 1));
|
||||
xstrlcpy(longword + len, su->su_badptr + stp[i].st_orglen, MAXWLEN + 1 - (size_t)len);
|
||||
hlf_T attr = HLF_COUNT;
|
||||
(void)spell_check(curwin, longword, &attr, NULL, false);
|
||||
if (attr != HLF_COUNT) {
|
||||
|
Reference in New Issue
Block a user