feat: adding back cmp-copilot

pull/546/head
Thomas Alcala Schneider 2 years ago
parent c32565a48b
commit e53d56f2fe
No known key found for this signature in database
GPG Key ID: 24BE5CF48622091B

@ -0,0 +1,12 @@
return {
'hrsh7th/cmp-copilot',
dependencies = { 'zbirenbaum/copilot.lua', 'github/copilot.vim' },
config = function()
local cmp = require 'cmp'
local config = cmp.get_config()
table.insert(config.sources, {
name = 'copilot',
})
cmp.setup(config)
end,
}

@ -5,7 +5,6 @@ return {
local config = cmp.get_config()
table.insert(config.sources, {
name = 'nvim_lsp',
option = {},
})
cmp.setup(config)
end,

@ -1,6 +1,6 @@
return {
'zbirenbaum/copilot-cmp',
dependencies = { 'copilot.lua' },
dependencies = { 'zbirenbaum/copilot.lua', 'github/copilot.vim' },
config = function()
require('copilot_cmp').setup()
local cmp = require 'cmp'

Loading…
Cancel
Save