mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
fix(ai.copilot): disable copilot lsp if installed. copilot.lua needs its own version of the LSP
This commit is contained in:
parent
92b7fcf7b1
commit
e9bc6074d1
1 changed files with 11 additions and 0 deletions
|
|
@ -25,6 +25,17 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- copilot-language-server
|
||||||
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
opts = {
|
||||||
|
servers = {
|
||||||
|
-- copilot.lua only works with its own copilot lsp server
|
||||||
|
copilot = { enabled = false },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
-- add ai_accept action
|
-- add ai_accept action
|
||||||
{
|
{
|
||||||
"zbirenbaum/copilot.lua",
|
"zbirenbaum/copilot.lua",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue