From 42c83961bf865d5b4fd46ce26e943f94ba98660c Mon Sep 17 00:00:00 2001 From: Hendra Date: Wed, 10 Apr 2024 15:26:52 +0700 Subject: [PATCH] Updates --- init.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/init.lua b/init.lua index 1abdee15..0ac637ef 100644 --- a/init.lua +++ b/init.lua @@ -689,6 +689,7 @@ require('lazy').setup({ { name = 'nvim_lsp' }, { name = 'luasnip' }, { name = 'path' }, + { name = 'copilot', group_index = 2 }, }, } end, @@ -780,6 +781,21 @@ require('lazy').setup({ 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 -- 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.