feat(nvim): remove copilot

This commit is contained in:
Michael Mandl 2023-07-28 09:04:08 +02:00
parent db42c35320
commit 9b28a36c3f
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
3 changed files with 0 additions and 14 deletions

View file

@ -1,6 +0,0 @@
require("copilot").setup({
suggestion = { enabled = false },
panel = { enabled = false },
})
require('copilot_cmp').setup({})

View file

@ -147,10 +147,6 @@ in
# debugging # debugging
nvim-dap nvim-dap
nvim-dap-ui nvim-dap-ui
# copilot
copilot-lua
copilot-cmp
]; ];
extraConfig = '' extraConfig = ''
@ -188,8 +184,6 @@ in
vim.g.gitblame_date_format = "%r" vim.g.gitblame_date_format = "%r"
${builtins.readFile ./copilot.lua }
EOF EOF
''; '';
}; };

View file

@ -15,7 +15,6 @@ cmp.setup({
end end
}, },
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = "copilot" },
{ name = "nvim_lsp" }, { name = "nvim_lsp" },
{ name = "nvim_lsp_signature_help" }, { name = "nvim_lsp_signature_help" },
{ name = "luasnip" }, { name = "luasnip" },
@ -60,7 +59,6 @@ cmp.setup({
fields = { "menu", "abbr", "kind" }, fields = { "menu", "abbr", "kind" },
format = function(entry, item) format = function(entry, item)
local menu_icon = { local menu_icon = {
copilot = "",
nvim_lsp = "λ", nvim_lsp = "λ",
luasnip = "", luasnip = "",
buffer = "Ω", buffer = "Ω",