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