nvim-config/lua/custom/plugins/copilot.lua
2025-10-02 01:03:01 +01:00

26 lines
500 B
Lua

return {
{
'zbirenbaum/copilot.lua',
cmd = 'Copilot',
event = 'InsertEnter',
config = function()
require('copilot').setup {
suggestion = {
enabled = false,
auto_trigger = true,
keymap = {
accept = '<M-l>',
},
},
panel = {
enabled = true,
auto_refresh = true,
},
filetypes = {
['*'] = true,
typescript = true,
},
}
end,
},
}