nvim: add spell completion
parent
30e7dc07e5
commit
d99a52fb0e
|
@ -58,6 +58,7 @@ in
|
|||
nvim-lastplace
|
||||
catppuccin-nvim
|
||||
cmp-nvim-lsp
|
||||
cmp-spell
|
||||
cmp_luasnip
|
||||
comment-nvim
|
||||
copilot-cmp
|
||||
|
|
|
@ -146,6 +146,16 @@ cmp.setup({
|
|||
{ name = "luasnip", priority = 7 },
|
||||
{ name = "nvim_lsp", priority = 9 },
|
||||
{ name = "orgmode", priority = 9 },
|
||||
{
|
||||
name = "spell",
|
||||
option = {
|
||||
keep_all_entries = false,
|
||||
enable_in_context = function()
|
||||
return true
|
||||
end,
|
||||
},
|
||||
priority = 1,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue