feat: add cmp sources

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

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

@ -1,3 +1,12 @@
return {
"hrsh7th/cmp-nvim-lsp",
'hrsh7th/cmp-nvim-lsp',
config = function()
local cmp = require 'cmp'
local config = cmp.get_config()
table.insert(config.sources, {
name = 'nvim_lsp',
option = {},
})
cmp.setup(config)
end,
}

@ -1,3 +1,12 @@
return {
"hrsh7th/cmp-path"
}
'hrsh7th/cmp-path',
config = function()
local cmp = require 'cmp'
local config = cmp.get_config()
table.insert(config.sources, {
name = 'path',
option = {},
})
cmp.setup(config)
end,
}

@ -1,5 +1,14 @@
return {
"tzachar/cmp-tabnine",
build = "./install.sh",
dependencies = {"hrsh7th/nvim-cmp"}
}
'tzachar/cmp-tabnine',
build = './install.sh',
dependencies = { 'hrsh7th/nvim-cmp' },
config = function()
local cmp = require 'cmp'
local config = cmp.get_config()
table.insert(config.sources, {
name = 'tabnine',
option = {},
})
cmp.setup(config)
end,
}

Loading…
Cancel
Save