feat(nvim): remove copilot

main
mandlm 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
nvim-dap
nvim-dap-ui
# copilot
copilot-lua
copilot-cmp
];
extraConfig = ''
@ -188,8 +184,6 @@ in
vim.g.gitblame_date_format = "%r"
${builtins.readFile ./copilot.lua }
EOF
'';
};

View File

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