Completion: source text from all open buffers
This commit is contained in:
parent
50b174cb1a
commit
55c8337358
1 changed files with 8 additions and 1 deletions
|
@ -157,7 +157,14 @@ return {
|
||||||
{ name = 'luasnip' }, -- For luasnip users.
|
{ name = 'luasnip' }, -- For luasnip users.
|
||||||
-- { name = 'ultisnips' }, -- For ultisnips users.
|
-- { name = 'ultisnips' }, -- For ultisnips users.
|
||||||
-- { name = 'snippy' }, -- For snippy users.
|
-- { name = 'snippy' }, -- For snippy users.
|
||||||
{ name = 'buffer' },
|
{
|
||||||
|
name = 'buffer',
|
||||||
|
option = {
|
||||||
|
get_bufnrs = function ()
|
||||||
|
return vim.api.nvim_list_bufs()
|
||||||
|
end
|
||||||
|
},
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
}),
|
}),
|
||||||
-- Set configuration for specific filetype.
|
-- Set configuration for specific filetype.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue