Skip to content
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

Request: Documentation to enable copilot #61

Closed
aphsa opened this issue Sep 10, 2023 · 3 comments
Closed

Request: Documentation to enable copilot #61

aphsa opened this issue Sep 10, 2023 · 3 comments

Comments

@aphsa
Copy link

aphsa commented Sep 10, 2023

How to enable copilot?

@Allaman
Copy link
Owner

Allaman commented Sep 12, 2023

Hi @aphsa, Copilot must be enabled in your user configuration.

So in your case, you need the following snippet in your .nvim_config.lua

return {
  plugins = {
    copilot = {
      enable = true,
    },
  },
}

After the installation, Lazy should automatically run :Copilot auth and you must provide your authentication

@aphsa
Copy link
Author

aphsa commented Sep 13, 2023

E492: Not an editor command: Copilot auth

@aphsa
Copy link
Author

aphsa commented Sep 13, 2023

I end reinstalling from scratch after removing .config/nvim and .local/share/nvim and that resolved the issue.

@aphsa aphsa closed this as completed Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants