Skip to content

Commit 13d54aa

Browse files
committed
🚧 nvim: github/copilot.vim ➡️ zbirenbaum/copilot.lua
1 parent 5c7d5ec commit 13d54aa

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.config/nvim/lua/plugins.lua

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,19 @@ require("lazy").setup({
959959
end,
960960
},
961961
{
962-
"github/copilot.vim",
962+
"zbirenbaum/copilot.lua",
963+
cmd = "Copilot",
964+
event = "InsertEnter",
965+
config = function()
966+
require("copilot").setup {
967+
suggestion = {
968+
enabled = true,
969+
keymap = {
970+
accept = "<C-i>",
971+
},
972+
},
973+
}
974+
end,
963975
},
964976
{
965977
"almo7aya/openingh.nvim",

0 commit comments

Comments
 (0)