aprokop / dotfiles

My configs for different programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Figure out how to track Vim's spell

aprokop opened this issue · comments

$ 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.

http://stackoverflow.com/questions/27240638/is-there-a-quick-way-to-rebuild-spell-files-from-wordlists

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.