feat: add cmp sources

This commit is contained in:
Thomas Alcala Schneider 2023-03-24 19:39:56 +01:00
parent a38042d73e
commit e6fdffe1ce
No known key found for this signature in database
GPG key ID: 24BE5CF48622091B
4 changed files with 46 additions and 7 deletions

View file

@ -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,
}