Skip to content

[Bug]: copilot.lua plugin installation fails with SSH checkout error #42

@slorksmo

Description

@slorksmo

Hello there,

I am setting up your dotfiles on [Your OS, e.g., Fedora 42], and I encountered a persistent issue while installing plugins via Lazy.nvim.

The copilot.lua plugin fails to install because it attempts to use the SSH protocol for cloning, which fails if the user hasn't set up an SSH key.

Steps to Reproduce:

  1. Cloned the dotfiles repository.
  2. Created the symlink for the nvim configuration to ~/.config/nvim.
  3. Launched nvim, which automatically initiated plugin installation via Lazy.nvim.

Expected Behavior:
The copilot.lua plugin should install successfully.

Actual Behavior (The Error):
The installation fails with a clone failed error, indicating an issue with the SSH connection attempt:

Failed (1)
o copilot.lua @ BufReadPost @ Copilot = clone failed
...
remote: Compressing objects: 100% (313/313), done.
...
warning: clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD .'

Proposed Solution (Optional):
To ensure installation works out-of-the-box for users who rely on HTTPS, perhaps changing the plugin source definition in the configuration files to explicitly use the HTTPS URL for cloning would resolve this dependency issue.

Thank you for your work on these dotfiles!


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions