1{ 2 lib, 3 vimUtils, 4 vectorcode, 5 vimPlugins, 6}: 7let 8 inherit (vectorcode) src version; 9in 10vimUtils.buildVimPlugin { 11 inherit src version; 12 13 pname = "vectorcode.nvim"; 14 15 # nixpkgs-update: no auto update 16 # This is built from the same source as vectorcode and will rebuild automatically 17 18 sourceRoot = "${src.name}/plugin"; 19 20 dependencies = [ 21 vimPlugins.plenary-nvim 22 ]; 23 24 buildInputs = [ vectorcode ]; 25 26 postPatch = '' 27 cp -r ../lua . 28 ''; 29 30 checkInputs = [ 31 vimPlugins.codecompanion-nvim 32 ]; 33 34 meta = { 35 description = "Index and navigate your code repository using vectorcode"; 36 homepage = "https://github.com/Davidyz/VectorCode/blob/main/docs/neovim.md"; 37 inherit (vectorcode.meta) changelog license; 38 maintainers = with lib.maintainers; [ sarahec ]; 39 }; 40}