cmp-spell icon indicating copy to clipboard operation
cmp-spell copied to clipboard

spell source for nvim-cmp based on vim's spellsuggest.

cmp-spell

spell source for nvim-cmp based on vim's spellsuggest.

Setup

require('cmp').setup {
  sources = {
    { name = 'spell' }
  }
}

Setting spell (and spelllang) is mandatory to use spellsuggest.

vim.opt.spell = true
vim.opt.spelllang = { 'en_us' }

Credit