nvim/lua/custom/plugins/copilot.lua
Jeremie Fraeys 02e26b00b7
Some checks are pending
Check Lua Formatting in MyRepo / Stylua Check (push) Waiting to run
chore(nvim): reinitialize with working config
2026-02-07 21:06:45 -05:00

18 lines
412 B
Lua
Executable file

-- GitHub Copilot base plugin
return {
'zbirenbaum/copilot.lua',
cmd = 'Copilot',
event = 'InsertEnter',
opts = {
node_cmd = vim.fn.executable('node') == 1 and vim.fn.exepath('node') or 'node',
suggestion = {
auto_trigger = true,
keymap = {
accept_word = '<M-u>',
accept_line = '<M-i>',
-- next = '<M-[>',
-- previous = '<M-]>',
},
},
},
}