-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: checkhealth doesn't work with Nixvim #1388
Comments
You must configure copilot, try doing :Copilot auth and then restart nvim, if you setup copilot this error should go bonus:
{
plugins = {
cmp.enable = true;
copilot-lua.enable = true;
mini = {
enable = true;
modules.pick = {};
};
web-devicons.enable = true;
avante = {
enable = true;
settings = {
provider = "copilot";
cursor_applying_provider = "copilot";
behaviour = {
enable_cursor_planning_mode = true;
};
file_selector = {
provider = "mini.pick";
};
};
};
};
} |
I think you missed the details in my report. Avante is working fine, using copilot. The problem is not with using or configuring Avante, just the |
oh my bad, i was automated mode... Yeah it looks like it could be a deeper issue with the way the health script determines whether a dep is present... ill give it a look if the issue is in there |
This nixpkgs version will contain the fix. If you are using nixpkgs unstable the next couple days you should receive the update |
Awesome, thank you! |
Just as an FYI, there's currently unrelated issues in nixpkgs that are causing nixvim to hold back its supported nixpkgs revision (nix-community/nixvim#2991). To get the avante fix, you can either use multiple nixpkgs inputs and specify |
Describe the bug
I'm using Nixvim to configure Avante. It seems to work, but checkhealth is failing, saying that it can't find several plugins:
I believe these plugins are actually fine though. It seems that the path-based mechanism for testing plugins in the health check don't work with Nixvim (maybe Nix in general). Perhaps instead a load check would be better. This pattern works with Nixvim:
To reproduce
Install Avante, nui, plenary, and dressing using Nixvim. Run checkhealth. Note that it fails.
Expected behavior
checkhealth passes.
Installation method
Use Nixvim:
Environment
NVIM v0.10.4
Build type: Release
LuaJIT 2.1.1713773202
NixOS Unstable
x86
Repro
The text was updated successfully, but these errors were encountered: