Use cmp.config.sources (#1105)
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user