You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
403 B
Lua
17 lines
403 B
Lua
return {
|
|
'github/copilot.vim',
|
|
init = function()
|
|
vim.g.copilot_no_tab_map = true
|
|
vim.g.copilot_assume_mapped = true
|
|
end,
|
|
config = function()
|
|
vim.keymap.set('i', '<C-e>', [[copilot#Accept("\<CR>")]], {
|
|
silent = true,
|
|
expr = true,
|
|
script = true,
|
|
replace_keycodes = false,
|
|
})
|
|
vim.g.copilot_proxy_strict_ssl = false
|
|
end,
|
|
}
|