Figure out how to track Vim's spell
aprokop opened this issue · comments
Andrey Prokopenko commented
$ ls ~/.vim/spell
en.utf-8.add en.utf-8.add.spl
When adding a word to spell, it aumatically added to the generated .spl
. However, it is being tracked as binary file so is being overwrittern. So it is incorrect until the next time some word is added and :mkspell! %
is automatically called.
Andrey Prokopenko commented
The answer is: do not track, and rely on auto mkspell for now. The harder variant would be to add a post-commit (post-pull?) hook to run it automatically. Not a big deal.