2023-09-17 23:36:17 +02:00
|
|
|
return {
|
2022-12-27 18:36:38 +01:00
|
|
|
"zbirenbaum/copilot.lua",
|
2023-09-17 23:36:17 +02:00
|
|
|
opts = {
|
2022-12-27 18:36:38 +01:00
|
|
|
panel = {
|
|
|
|
enabled = true,
|
|
|
|
auto_refresh = false,
|
|
|
|
keymap = {
|
|
|
|
jump_prev = "[[",
|
|
|
|
jump_next = "]]",
|
|
|
|
accept = "<CR>",
|
|
|
|
refresh = "gr",
|
|
|
|
open = "<M-CR>",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
suggestion = {
|
|
|
|
enabled = true,
|
|
|
|
auto_trigger = true,
|
|
|
|
debounce = 75,
|
|
|
|
keymap = {
|
|
|
|
accept = "<C-j>",
|
|
|
|
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 version must be < 18
|
|
|
|
server_opts_overrides = {},
|
2023-09-17 23:36:17 +02:00
|
|
|
},
|
|
|
|
}
|