Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pschmitt/cmp-brotab

Brotab completion for nvim-cmp
https://github.com/pschmitt/cmp-brotab

brotab browser neovim nvim nvim-cmp

Last synced: about 1 month ago
JSON representation

Brotab completion for nvim-cmp

Awesome Lists containing this project

README

        

# cmp-brotab

Browser tab content content completion for
[nvim-cmp](https://github.com/hrsh7th/nvim-cmp).

# Requirements

- [neovim](https://github.com/neovim/neovim)
- [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
- [BroTab](https://github.com/balta2ar/brotab)

# Installation (packer.nvim)

```lua
use {
'pschmitt/cmp-brotab',
requires = "hrsh7th/nvim-cmp",
}
```

# Configuration

```lua
require('cmp').setup({
sources = {
{ name = 'brotab' }
}
})
```

# LunarVim Configuration

```lua
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