Feat(nvim): add option for buffer completion
This commit is contained in:
parent
3029561478
commit
e43a76a132
@ -25,7 +25,15 @@ return {
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'vsnip' }, -- For vsnip users.
|
||||
{ name = 'path' },
|
||||
{ name = 'buffer' },
|
||||
{
|
||||
name = 'buffer',
|
||||
option = {
|
||||
keyword_length = 3,
|
||||
get_bufnrs = function()
|
||||
return vim.api.nvim_list_bufs()
|
||||
end
|
||||
}
|
||||
},
|
||||
}, {
|
||||
{ name = 'buffer' },
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user