nvim-config/lua/plugins/copilot.lua

10 lines
273 B
Lua
Raw Normal View History

2023-12-17 13:16:29 -08:00
return {
"github/copilot.vim",
lazy = false,
2024-05-18 22:04:13 -07:00
config = function()
vim.api.nvim_set_keymap("i", "<C-Tab>", 'copilot#Accept("<End>")', { silent = true, script = true, expr = true })
vim.g.copilot_no_tab_map = true
vim.g.copilot_assume_mapped = true
end,
2023-12-17 13:16:29 -08:00
}