lint: cleanup after parent commits

This commit is contained in:
ZviRackover
2018-08-16 05:09:21 +03:00
parent 30392b6356
commit d110c6d790
12 changed files with 84 additions and 86 deletions

View File

@@ -688,8 +688,9 @@ static void find_word(matchinf_T *mip, int mode)
arridx = endidx[endidxcnt];
wlen = endlen[endidxcnt];
if (utf_head_off(ptr, ptr + wlen) > 0)
if (utf_head_off(ptr, ptr + wlen) > 0) {
continue; // not at first byte of character
}
if (spell_iswordp(ptr + wlen, mip->mi_win)) {
if (slang->sl_compprog == NULL && !slang->sl_nobreak)
continue; // next char is a word character