-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add a working copilot plugin. #691
base: main
Are you sure you want to change the base?
Conversation
There is no need to modify the pins here if we are not adding a module. nvf provides an extra plugins API that you can use to install and configure plugins without relying on upstream (us.) I would encourage using said API, or refactoring to also include a module. Note that I am not too keen on vimscript plugins. copilot.vim is very slow, and is not designed with modern setups in mind. Copilot.lua is supposed to be feature complete, but if I recall correctly the author was not able to work on bugfixes. Perhaps there is a fork that we can use? P.S. the npins bug should be fixed with 414c922 |
I couldn't figure out how to use
and I failed to find any information on how to define a There's an additional problem with this PR that I realized when I woke up this morning though which is that it depends on Maybe we can fix the documentation instead so that I could understand how to use |
In this example: config.vim.extraPlugins = with pkgs.vimPlugins; {
aerial = {
package = aerial-nvim;
setup = "require('aerial').setup {}";
};
harpoon = {
package = harpoon;
setup = "require('harpoon').setup {}";
after = ["aerial"]; # place harpoon configuration after aerial
};
} the packages are acquired from the Looking at it now, neither copilot plugin seems to be packaged in Nixpkgs. You could request that they're packaged, but it is also possible that we add a module instead. Then again, I am not a huge fan of LLM companions and especially not a fan of Vimscript plugins. |
looks relevant. It isn't the I shoudl perhaps be 100% clear that I tried initially to use the "assistant" module to enable copilot, but aside from the fact that it dragged in a super irritating |
The
copilot-lua
plugin that is included withnvf
doesn't work at all for me, while the official plugin works excellently. Add a"copilot"
option so that users can use the official plugin if they like.Also fix a typo reported by me as a bug in the
npins
JSON because without that fix thenpins
doesn't work.