chezmoi/dot_config/nvim/lua/plugins/copilot.lua
kjuulh b57eaa435a
Add .config/nvim/.luarc.json
Update .config/nvim/lazyvim.json
Update .config/nvim/lua/config/lazy.lua
Update .config/nvim/lua/plugins/copilot.lua
Update .config/nvim/lua/plugins/go.lua
Update .config/nvim/lua/plugins/nvim-cmp.lua
Add .config/nvim/lua/plugins/sourcegraph-copilot.lua
2024-03-03 13:15:47 +01:00

20 lines
392 B
Lua

return {
"zbirenbaum/copilot.lua",
enabled = true,
cmd = "Copilot",
event = "InsertEnter",
config = function()
require("copilot").setup({
suggestion = { enabled = true },
panel = { enabled = true, auto_refresh = true },
--suggestion = {
-- auto_trigger = true,
-- keymap = {
-- accept = "<C-S-l>",
-- }
--}
})
end,
}