Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/KadoBOT/cmp-plugins
- Owner: KadoBOT
- License: mit
- Created: 2022-06-17T05:30:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-03T07:37:19.000Z (about 2 years ago)
- Last Synced: 2024-04-14T05:33:07.260Z (7 months ago)
- Topics: neovim, neovim-plugin, nvim, nvim-cmp, nvim-plugin
- Language: Lua
- Homepage:
- Size: 1.1 MB
- Stars: 61
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
### InstalationBy 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' },
},
})
```