Github Copilot 以单文件模式运行?

Github Copilot running in single file mode?

提问人:jamesdlivesinatree 提问时间:11/15/2023 最后编辑:mkrieger1jamesdlivesinatree 更新时间:11/17/2023 访问量:33

问:

我在 neovim 上运行 Github copilot。当我运行时,我看到以下内容。这是意料之中的,还是配置问题?:LspInfo

enter image description here

neovim github-copilot nvim-lspconfig

评论


答:

0赞 sthorne 11/17/2023 #1

这是意料之中的,目前仅支持单文件模式。copilot.vim

您可以在 copilot.vim github 存储库中亲眼看到这一点。在 lua 文件中,没有对 lsp start 调用中的字段的引用。root_dir