Hello,
I would like to have us english spell check.
:call Spellus() give already something but it is not so much working - i.e. really us english.
Would you have any tipps or hints?
thank you
Code:
fu! Spellus()
" Spell check on
set spell spelllang=en_us
setlocal spell spelllang=en_us
" Toggle spelling with the F7 key
nn <F7> :setlocal spell! spelllang=en_us<CR>
imap <F7> <C-o>:setlocal spell! spelllang=en_us<CR>
" Spelling
" where it should get the dictionary files
let g:spellfile_URL = 'http://ftp.vim.org/vim/runtime/spell'
endfunction