From 6b8541bf625fc6ebee20da489785669758d9bf92 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 2 Jun 2025 13:20:58 -0700 Subject: [PATCH] vimPlugins.vectorcode-nvim: init at 0.6.10 --- .../non-generated/vectorcode-nvim/default.nix | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/applications/editors/vim/plugins/non-generated/vectorcode-nvim/default.nix diff --git a/pkgs/applications/editors/vim/plugins/non-generated/vectorcode-nvim/default.nix b/pkgs/applications/editors/vim/plugins/non-generated/vectorcode-nvim/default.nix new file mode 100644 index 000000000000..ac8e52fdfbbc --- /dev/null +++ b/pkgs/applications/editors/vim/plugins/non-generated/vectorcode-nvim/default.nix @@ -0,0 +1,36 @@ +{ + lib, + vimUtils, + vectorcode, + vimPlugins, +}: +let + inherit (vectorcode) src version; +in +vimUtils.buildVimPlugin { + inherit src version; + + pname = "vectorcode.nvim"; + + # nixpkgs-update: no auto update + # This is built from the same source as vectorcode and will rebuild automatically + + sourceRoot = "${src.name}/plugin"; + + dependencies = [ + vimPlugins.plenary-nvim + ]; + + buildInputs = [ vectorcode ]; + + postPatch = '' + cp -r ../lua . + ''; + + meta = { + description = "Index and navigate your code repository using vectorcode"; + homepage = "https://github.com/Davidyz/VectorCode/blob/main/docs/neovim.md"; + inherit (vectorcode.meta) changelog license; + maintainers = with lib.maintainers; [ sarahec ]; + }; +}