nvim-config/lua/plugins/copilot.lua
2024-05-18 22:04:13 -07:00

10 lines
273 B
Lua

return {
"github/copilot.vim",
lazy = false,
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,
}