From 8003f152422820fd401921a440bdcce5ebf0abc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Thu, 1 Feb 2024 12:33:35 +0100 Subject: [PATCH] feat(nvim): add cmp spell and signature plugins --- modules/programs/nvim/plugins/coding.nix | 2 ++ modules/programs/nvim/plugins/lua/nvim-cmp.lua | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/programs/nvim/plugins/coding.nix b/modules/programs/nvim/plugins/coding.nix index 358f578..c38452c 100644 --- a/modules/programs/nvim/plugins/coding.nix +++ b/modules/programs/nvim/plugins/coding.nix @@ -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 = { }; diff --git a/modules/programs/nvim/plugins/lua/nvim-cmp.lua b/modules/programs/nvim/plugins/lua/nvim-cmp.lua index abe86bb..2c2d075 100644 --- a/modules/programs/nvim/plugins/lua/nvim-cmp.lua +++ b/modules/programs/nvim/plugins/lua/nvim-cmp.lua @@ -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 }, }, })