fix(nvim): properly setup sources for nvim-cmp
This commit is contained in:
parent
6a45f1f198
commit
4fa3020986
@ -129,7 +129,8 @@ return {
|
|||||||
{ name = "spell", keyword_length = 2 },
|
{ name = "spell", keyword_length = 2 },
|
||||||
}
|
}
|
||||||
|
|
||||||
return cmp.config.sources(vim.tbl_deep_extend("force", default_sources, sources))
|
vim.tbl_map(function(source) table.insert(default_sources, 1, source) end, sources)
|
||||||
|
return cmp.config.sources(default_sources)
|
||||||
end
|
end
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
formatting = {
|
formatting = {
|
||||||
|
Loading…
Reference in New Issue
Block a user