f3fora / cmp-spell

spell source for nvim-cmp based on vim's spellsuggest.
190 stars 3 forks source link

Multiple Languages #5

Open JirR02 opened 2 years ago

JirR02 commented 2 years ago

Is it possible to use multiple languages as a language source?

f3fora commented 2 years ago

yes. Check :help spelllang. e.g in lua you can set vim.opt.spelllang = {'en', 'it'}.

ducks4rule commented 1 year ago

I tried this with vim.opt.spelllang = {'en_gb', 'de'}, both are installed and it did not work. Any help on how to troubleshoot?

prncss-xyz commented 10 months ago

What works for me is vim.opt.spelllang = 'en_us,fr'.