dotfiles/nvim/lua/plugins/copilot.lua

19 lines
367 B
Lua
Raw Normal View History

2024-01-17 21:03:38 +01:00
return {
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
2024-01-17 21:26:45 +01:00
opts = {
suggestion = {
auto_trigger = true,
auto_refresh = true,
keymap = {
accept = "<leader><Tab>",
dismiss = "<leader><Space>",
},
filetypes = {
markdown = true,
}
}
}
2024-01-17 21:03:38 +01:00
}