diff options
author | ZviRackover <zvirack@gmail.com> | 2018-08-16 05:09:21 +0300 |
---|---|---|
committer | ZviRackover <zvirack@gmail.com> | 2018-08-16 07:39:48 +0300 |
commit | d110c6d7907d6f27f32b1d2bd91ffee7ef6097f4 (patch) | |
tree | 4e6700226b395f2cea6c172497a01eacbdca6b7d /src/nvim/spell.c | |
parent | 30392b635689a5f25421c17ead79e521863c8b57 (diff) | |
download | rneovim-d110c6d7907d6f27f32b1d2bd91ffee7ef6097f4.tar.gz rneovim-d110c6d7907d6f27f32b1d2bd91ffee7ef6097f4.tar.bz2 rneovim-d110c6d7907d6f27f32b1d2bd91ffee7ef6097f4.zip |
lint: cleanup after parent commits
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 35dd41591c..f72c47bd15 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -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 |