removed copilot

This commit is contained in:
aminnairi
2023-12-23 22:01:07 +01:00
parent e5a2051873
commit ba3980d7d3
2 changed files with 0 additions and 60 deletions
@@ -1,7 +0,0 @@
return {
"zbirenbaum/copilot-cmp",
event = "InsertEnter",
config = function ()
require("copilot_cmp").setup()
end
}
@@ -1,53 +0,0 @@
return {
"zbirenbaum/copilot.lua",
build = "Copilot :auth",
event = "InsertEnter",
config = function()
require("copilot").setup({
panel = {
-- set to true the pannel if not using cmp.
enabled = false,
auto_refresh = true,
keymap = {
jump_prev = "[[",
jump_next = "]]",
accept = "<M-CR>",
refresh = "gr",
open = "<M-o>"
},
layout = {
position = "bottom", -- | top | left | right
ratio = 0.4
},
},
suggestion = {
-- set to true the pannel if not using cmp.
enabled = false,
auto_trigger = true,
debounce = 75,
keymap = {
accept = "<M-l>",
accept_word = false,
accept_line = false,
next = "<M-]>",
prev = "<M-[>",
dismiss = "<C-]>",
},
},
filetypes = {
yaml = false,
markdown = false,
help = false,
gitcommit = false,
gitrebase = false,
hgcommit = false,
svn = false,
cvs = false,
["."] = false,
},
copilot_node_command = 'node', -- Node.js version must be > 18.x
server_opts_overrides = {},
})
end,
}