mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
23 lines
458 B
Lua
23 lines
458 B
Lua
return {
|
|
"zbirenbaum/copilot.lua",
|
|
cmd = "Copilot",
|
|
build = ":Copilot auth",
|
|
event = "BufReadPost",
|
|
opts = {
|
|
suggestion = {
|
|
enabled = not vim.g.ai_cmp,
|
|
auto_trigger = true,
|
|
hide_during_completion = vim.g.ai_cmp,
|
|
keymap = {
|
|
accept = "<M-f>",
|
|
next = "<M-]>",
|
|
prev = "<M-[>",
|
|
},
|
|
},
|
|
panel = { enabled = false },
|
|
filetypes = {
|
|
markdown = true,
|
|
help = true,
|
|
},
|
|
},
|
|
}
|