endif
endfunction
autocmd BufReadPost * call SetupSpell()
+
+ function! SaveSpell()
+ if expand('%') == expand('~/.vim/spell/en.ascii.add')
+ mkspell! -ascii %
+ else
+ mkspell! %
+ endif
+ endfunction
+ autocmd BufWritePost ~/.vim/spell/*.add call SaveSpell()
endif