From 2a4747a7397417c4ee1ff24880a487c76d0913e5 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Wed, 6 Apr 2022 16:48:21 +0200 Subject: move to copilot cmp --- lua/alpha/plugins.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lua/alpha/plugins.lua') diff --git a/lua/alpha/plugins.lua b/lua/alpha/plugins.lua index e617d12..0b3e6a5 100644 --- a/lua/alpha/plugins.lua +++ b/lua/alpha/plugins.lua @@ -97,7 +97,18 @@ return require('packer').startup(function(use) 'ray-x/lsp_signature.nvim' } - use "github/copilot.vim" + -- use "github/copilot.vim" + use { + "zbirenbaum/copilot.lua", + event = "InsertEnter", + config = function () + vim.schedule(function() require("copilot").setup() end) + end, + } + use { + "zbirenbaum/copilot-cmp", + after = {"copilot.lua", "nvim-cmp"}, + } use { 'nvim-telescope/telescope.nvim', -- cgit v1.2.3