wip: make cmp use copilot
parent
e6fdffe1ce
commit
c32565a48b
@ -1,11 +1,12 @@
|
||||
return {
|
||||
'hrsh7th/cmp-copilot',
|
||||
'zbirenbaum/copilot-cmp',
|
||||
dependencies = { 'copilot.lua' },
|
||||
config = function()
|
||||
require('copilot_cmp').setup()
|
||||
local cmp = require 'cmp'
|
||||
local config = cmp.get_config()
|
||||
table.insert(config.sources, {
|
||||
name = 'copilot',
|
||||
option = {},
|
||||
})
|
||||
cmp.setup(config)
|
||||
end,
|
Loading…
Reference in New Issue