feat(nvim): add cmp spell and signature plugins

stylix
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-cmdline; }
{ plugin = cmp-nvim-lsp; } { plugin = cmp-nvim-lsp; }
{ plugin = cmp_luasnip; } { plugin = cmp_luasnip; }
{ plugin = cmp-spell; }
{ plugin = cmp-nvim-lsp-signature-help; }
{ {
plugin = copilot-cmp; plugin = copilot-cmp;
opts = { }; opts = { };

View File

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