Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Invalid server name 'GitHub Copilot' #142

@divakaivan

Description

@divakaivan

I added the below lua code to my nvim plugins. I get all the functionality. But when I run :LspRestart I get the message Invalid server name GitHub Copilot.

return {
	"github/copilot.vim",
}

When I inspect :LspInfo, I see:

vim.lsp: Enabled Configurations ~
- ⚠️ WARNING 'GitHub Copilot' config not found. Ensure that vim.lsp.config('GitHub Copilot') was called.
- GitHub Copilot:

I have installed copilot-language-server from Mason. And cannot find anyone else running into this error online :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions