mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 18:02:13 +02:00
removed copilot
This commit is contained in:
@@ -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,
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user