refactor(nvim): return cmp sources as part of standard sources

This commit is contained in:
Price Hiller 2023-09-25 15:49:26 -05:00
parent 5c520cf48d
commit 6a45f1f198
No known key found for this signature in database

View File

@ -129,7 +129,7 @@ return {
{ name = "spell", keyword_length = 2 },
}
return vim.tbl_deep_extend("force", default_sources, sources)
return cmp.config.sources(vim.tbl_deep_extend("force", default_sources, sources))
end
cmp.setup({
formatting = {
@ -305,7 +305,7 @@ return {
end
end, { "i", "s" }),
},
sources = cmp.config.sources(standard_sources()),
sources = standard_sources(),
sorting = {
comparators = {
compare.score,