I upgraded MacVim to 8.1.2168 (159) tonight and now the vimwiki files in Markdown format do not highlight correctly when I enable spell check.
set spell spelllang=en_ca as I have before. It looks almost like the spell check is finding all of the first word except the first character in some (but not all!) of the sentences, and reporting those fractions of words as misspellings.
I believe this is some sort of new conflict between the vimwiki files in Markdown format and the new upgraded version of vim and spellcapcheck
Abridged output from
syntax=vimwiki filetype=vimwiki spell spellcapcheck=[.?!]_)' spellfile=~/.vim/spell/en.utf-8.add suffixesadd=.markd
I can see that the default string for spellcapcheck is
default "[.?!]\_[\])'"' \t]\+" while mine is
[.?!]_)'. Yet I run
set spc="[.?!]\_[\])'"' \t]\+"
and the highlighting does not change.
When I run
set list I can see that there is an eol at the end of each line. This is as I expect.
It is not lost on me that the first word of each sentence is not highlighted if the remaining characters after the first character form a valid word:
- David does not appear as a highlighted spelling error because
avidis a valid word.
- Daphne appears as a highlighted spelling error because
aphneis a typo.
Where do I look next to fix this?