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.
kickstart.nvim/lua/custom/plugins/copilot.lua

21 lines
418 B
Lua

return {
'github/copilot.vim',
config = function()
vim.keymap.set('i', '<C-J>', 'copilot#Accept("\\<CR>")', {
expr = true,
replace_keycodes = false,
})
vim.g.copilot_no_tab_map = true
end,
opts = {
suggestion = { enabled = false },
panel = { enabled = false },
filetypes = {
gitcommit = true,
yaml = true,
markdown = true,
help = true,
},
},
}