Browser tab content content completion for nvim-cmp.
use {
'pschmitt/cmp-brotab',
requires = "hrsh7th/nvim-cmp",
}
require('cmp').setup({
sources = {
{ name = 'brotab' }
}
})
lvim.plugins = {
{
"pschmitt/cmp-brotab"
requires = "hrsh7th/nvim-cmp",
event = "InsertEnter",
setup = function()
table.insert(lvim.builtin.cmp.sources, { name = "brotab" })
lvim.builtin.cmp.formatting.source_names.brotab = "(BROTAB)"
end
},
}
```lua