feat(nvim): add cmp spell and signature plugins

This commit is contained in:
Moritz Böhme 2024-02-01 12:33:35 +01:00
parent 89104209e8
commit 8003f15242
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
2 changed files with 4 additions and 0 deletions

View file

@ -83,6 +83,8 @@ with builtins;
{ plugin = cmp-cmdline; }
{ plugin = cmp-nvim-lsp; }
{ plugin = cmp_luasnip; }
{ plugin = cmp-spell; }
{ plugin = cmp-nvim-lsp-signature-help; }
{
plugin = copilot-cmp;
opts = { };

View file

@ -55,9 +55,11 @@ cmp.setup({
sources = {
{ name = "async_path", priority = 1 },
{ name = "buffer", priority = 1 },
{ name = "spell", priority = 1 },
{ name = "luasnip", priority = 2 },
{ name = "copilot", priority = 3 },
{ name = "nvim_lsp", priority = 3 },
{ name = "nvim_lsp_signature_help", priority = 3 },
},
})