feat(nvim): remove copilot
This commit is contained in:
parent
db42c35320
commit
9b28a36c3f
3 changed files with 0 additions and 14 deletions
|
@ -1,6 +0,0 @@
|
||||||
require("copilot").setup({
|
|
||||||
suggestion = { enabled = false },
|
|
||||||
panel = { enabled = false },
|
|
||||||
})
|
|
||||||
|
|
||||||
require('copilot_cmp').setup({})
|
|
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 = "Ω",
|
||||||
|
|
Loading…
Reference in a new issue