complete from buffers
This commit is contained in:
parent
9e9d9ccf96
commit
34b0719adb
1 changed files with 9 additions and 2 deletions
|
@ -45,9 +45,16 @@ cmp.setup {
|
|||
end, { "i", "s" }),
|
||||
},
|
||||
sources = {
|
||||
{ name = 'buffer' },
|
||||
{ name = 'nvim_lsp' },
|
||||
-- { name = 'spell' },
|
||||
{ name = 'path' },
|
||||
{
|
||||
name = 'buffer',
|
||||
option = {
|
||||
get_bufnrs = function()
|
||||
return vim.api.nvim_list_bufs()
|
||||
end
|
||||
}
|
||||
},
|
||||
-- { name = 'spell' },
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue