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}