Use cmp.config.sources (#1105)

This commit is contained in:
Lee Hanbury
2022-08-14 16:55:45 +01:00
committed by GitHub
parent 706371f130
commit 983453e32c

View File

@@ -36,10 +36,10 @@ cmp.setup {
['<CR>'] = cmp.mapping.confirm({ select = true }) ['<CR>'] = cmp.mapping.confirm({ select = true })
}, },
sources = { sources = cmp.config.sources({
{ name = "nvim_lsp" }, { name = "nvim_lsp" },
{ name = "buffer" }, { name = "buffer" },
}, }),
} }
EOF EOF