1
0
Fork 0

Use option instead of opts in sources

The former is deprecated.
This commit is contained in:
Daniele Tricoli 2021-11-24 16:48:20 +01:00
parent 5c782ea0bd
commit b94f7fac51

View file

@ -48,7 +48,7 @@ cmp.setup({
{ name = 'nvim_lua' },
{ name = "luasnip" },
{ name = 'buffer',
opts = {
option = {
-- Use all buffers to complete.
get_bufnrs = function() return vim.api.nvim_list_bufs() end
},