fix(vector-code-nvim): install or upgrade vectorcode-cli based on cli existence#1713
fix(vector-code-nvim): install or upgrade vectorcode-cli based on cli existence#1713cristobalgvera wants to merge 1 commit intoAstroNvim:mainfrom
vectorcode-cli based on cli existence#1713Conversation
Review ChecklistDoes this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist: Proper conventional commit scoping:
|
📑 Description
This pull request updates the build logic for the
VectorCodeplugin to improve how dependencies are checked and managed. The main change is that it now conditionally installs or upgrades thevectorcodetool based on its presence, and usesvim.systemfor better process handling.Dependency management improvements:
uvis installed by verifying thatvim.fn.executable "uv"returns 0, and throws an error if not.vectorcodeby checking if it is already executable, and then callsuv tool install vectorcodeoruv tool upgrade vectorcodeaccordingly usingvim.systemfor process execution.