neovimgithub-copilotnvim-lspconfig

Github Copilot running in single file mode?


I'm running Github copilot on neovim. When I run :LspInfo, I see the following. Is this expected, or a configuration issue?

enter image description here


Solution

  • This is expected, copilot.vim currently only supports single file mode.

    You can see this for yourself in the copilot.vim github repository. In the lua file there is no reference to the root_dir field in the lsp start call.