Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/KadoBOT/cmp-plugins

nvim-cmp source for Neovim plugins
https://github.com/KadoBOT/cmp-plugins

neovim neovim-plugin nvim nvim-cmp nvim-plugin

Last synced: 3 months ago
JSON representation

nvim-cmp source for Neovim plugins

Awesome Lists containing this project

README

        

# cmp-plugins
nvim-cmp source for Neovim plugins.

https://user-images.githubusercontent.com/11719845/174234402-90e120e7-a75e-46f3-8a32-afb8e1001c7e.mov

## Setup
### Instalation

By default, the source will be available on all lua files. It's suggested that you change it to the filenames (or path) where you install
your Neovim plugins (regular expressions also work).

```lua
use({
"hrsh7th/nvim-cmp",
requires = {
{
"KadoBOT/cmp-plugins",
config = function()
require("cmp-plugins").setup({
files = { ".*\\.lua" } -- default
-- files = { "plugins.lua", "some_path/plugins/" } -- Recommended: use static filenames or partial paths
})
end,
},
}
})
```

### Configuration
```lua
require('cmp').setup({
sources = {
{ name = 'plugins' },
},
})
```