This commit is contained in:
Hendra 2024-04-10 15:26:52 +07:00
parent f851ea5ff2
commit 42c83961bf
1 changed files with 16 additions and 0 deletions

View File

@ -689,6 +689,7 @@ require('lazy').setup({
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'luasnip' }, { name = 'luasnip' },
{ name = 'path' }, { name = 'path' },
{ name = 'copilot', group_index = 2 },
}, },
} }
end, end,
@ -780,6 +781,21 @@ require('lazy').setup({
end, end,
}, },
{
'zbirenbaum/copilot.lua',
cmd = 'Copilot',
event = 'InsertEnter',
config = function()
require('copilot').setup {}
end,
},
{
'zbirenbaum/copilot-cmp',
config = function()
require('copilot_cmp').setup()
end,
},
-- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the
-- init.lua. If you want these files, they are in the repository, so you can just download them and -- init.lua. If you want these files, they are in the repository, so you can just download them and
-- put them in the right spots if you want. -- put them in the right spots if you want.