From 995eeae84fee972c64c29b2758d497392ffaf5d7 Mon Sep 17 00:00:00 2001 From: Arthur Wambst Date: Wed, 23 Apr 2025 20:45:08 +0200 Subject: [PATCH] trying fixes for cmp --- flake.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index b42c0d8..fbabce9 100644 --- a/flake.nix +++ b/flake.nix @@ -61,15 +61,19 @@ enable = true; configure = { packages.myTetspkg = { - start = [ - (pkgs.vimUtils.buildVimPlugin { - pname = "nvim-cmp"; - version = "latest"; - src = inputs.plugin-cmp; - }) - ]; - }; - customRC = '' + start = with pkgs.vimPlugins; [ + # Use pre-packaged plugins from nixpkgs + dracula-nvim # or the closest match available + nvim-lspconfig + nvim-cmp + cmp-nvim-lsp + cmp-buffer + cmp-path + cmp-cmdline + vim-vsnip + cmp-vsnip + ];}; + customRC = '' set runtimepath+=${inputs.plugin-dracula} set runtimepath+=${inputs.plugin-lsp} set runtimepath+=${inputs.plugin-cmp}