kjuulh
b57eaa435a
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
20 lines
392 B
Lua
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,
|
|
}
|