commit a822371dd93ac9dcddcb45317d1fedde499ec84c parent 3913ccb10835b6da4626577d79aa1c447babbcd9 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Fri, 9 Oct 2015 17:14:43 +0200 regenerate spell file Diffstat:
vim/vimrc | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc @@ -112,3 +112,10 @@ set noesckeys let g:vim_markdown_math=1 set nofoldenable + +" http://vi.stackexchange.com/a/5052/4819 +for d in glob('~/.vim/spell/*.add', 1, 1) + if filereadable(d) && (!filereadable(d . '.spl') || getftime(d) > getftime(d . '.spl')) + exec 'mkspell! ' . fnameescape(d) + endif +endfor