I want to use spell checking in vim.

I did this already:

:set spelllang=nl

Upon which vim downloaded the needed nl.utf-8.spl into ~/.vim/spell/.

When I do zg on a word to add it to the spelling list, vim creates nl.utf-8.add and nl.utf-8.add.spl in the before mentioned directory (nothing seems to get overwritten).

Yet here is where the strange stuff comes into play. When I close the file and reopen it, all words are marked as bad spelling except for the words I just added using zg.

How can I add words to vim spelling without losing the old spelling?

I have this in my ~/.vimrc:

" SET SPELLING
au BufWinEnter set spell
autocmd Filetype c,cpp,vim,perl,python,py,pl setlocal spell spelllang=en
au Filetype tex set spelllang=nl

It seems as if vim is only loading the .add file and not the normal spelling file nl.utf-8.spl.

Can I manually tell vim to load both?

link|improve this question

feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.