commit 10ae37984d28e70f62bd88fd571fd128f6b08b93
parent 632da798be93ef2dd6f1dc40271b78af0c2f65b4
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Fri, 9 Oct 2015 17:21:17 +0200
comment
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -113,9 +113,10 @@ let g:vim_markdown_math=1
set nofoldenable
+" regenerate spell files at startup, in case they were modified elsewhere
" 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)
+ silent exec 'mkspell! ' . fnameescape(d)
endif
endfor