feat: adding back cmp-copilot
This commit is contained in:
parent
c32565a48b
commit
e53d56f2fe
|
@ -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…
Reference in New Issue