I am using vim and latex to produce documents and I have realized that I am making a number of spelling mistakes and in order to correct that I installed
vim-lexical plugin. However, nothing seems to happen. I have the following in my
let g:spellfile_URL = 'http://ftp.vim.org/vim/runtime/spell' let g:lexical#spelllang = ['en_us','en_gb','ro_RO'] augroup lexical autocmd! autocmd FileType markdown,mkd call lexical#init() autocmd FileType latex call lexical#init() augroup END
To make matters a bit more interesting, I have to produce documents in Romanian and English (not at the same time) and I would like a way to highlight spelling mistakes in both languages.
What do I have to do to make this work? I have looked at
spelllang documentation but I don't understand it.
Why don't I get any highlights in either English or Romanian with my current setup?