nvim: add spell completion

This commit is contained in:
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 nvim-lastplace
catppuccin-nvim catppuccin-nvim
cmp-nvim-lsp cmp-nvim-lsp
cmp-spell
cmp_luasnip cmp_luasnip
comment-nvim comment-nvim
copilot-cmp copilot-cmp

View file

@ -146,6 +146,16 @@ cmp.setup({
{ name = "luasnip", priority = 7 }, { name = "luasnip", priority = 7 },
{ name = "nvim_lsp", priority = 9 }, { name = "nvim_lsp", priority = 9 },
{ name = "orgmode", priority = 9 }, { name = "orgmode", priority = 9 },
{
name = "spell",
option = {
keep_all_entries = false,
enable_in_context = function()
return true
end,
},
priority = 1,
},
}, },
}) })