Files
neovim-config/lua/taken/plugins/copilot.lua
Taken 9556024c93 Added types
Signed-off-by: Taken <taken@mairimashita.org>
2024-03-17 16:34:11 +01:00

29 lines
671 B
Lua

--- @type LazyPluginSpec
return {
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
require("copilot").setup({
panel = {
keymap = {
open = "<M-c>"
}
},
suggestion = {
auto_trigger = true,
keymap = {
accept = "<M-CR>",
},
},
filetypes = {
lua = true,
javascript = true,
python = true,
markdown = true,
json = true,
},
})
end,
}