Merge pull request #1 from thomasmarcel/feature/copilot-cmp
Feature/copilot cmp
This commit is contained in:
commit
aa4d90076b
|
@ -1,11 +1,11 @@
|
|||
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',
|
||||
option = {},
|
||||
})
|
||||
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,
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
'zbirenbaum/copilot-cmp',
|
||||
dependencies = { 'zbirenbaum/copilot.lua', 'github/copilot.vim' },
|
||||
config = function()
|
||||
require('copilot_cmp').setup()
|
||||
local cmp = require 'cmp'
|
||||
local config = cmp.get_config()
|
||||
table.insert(config.sources, {
|
||||
name = 'copilot',
|
||||
})
|
||||
cmp.setup(config)
|
||||
end,
|
||||
}
|
Loading…
Reference in New Issue