nvim: add spell completion

nixos
Moritz Böhme 2023-02-19 13:21:37 +01:00
parent 30e7dc07e5
commit d99a52fb0e
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
2 changed files with 11 additions and 0 deletions

View File

@ -58,6 +58,7 @@ in
nvim-lastplace
catppuccin-nvim
cmp-nvim-lsp
cmp-spell
cmp_luasnip
comment-nvim
copilot-cmp

View File

@ -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,
},
},
})