Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hrsh7th/cmp-omni

nvim-cmp source for omnifunc
https://github.com/hrsh7th/cmp-omni

nvim-cmp

Last synced: about 2 months ago
JSON representation

nvim-cmp source for omnifunc

Awesome Lists containing this project

README

        

# cmp-omni

nvim-cmp source for omnifunc.

# Setup

```lua
require'cmp'.setup {
sources = {
{
name = 'omni',
option = {
disable_omnifuncs = { 'v:lua.vim.lsp.omnifunc' }
}
}
}
}
```

# Option

### disable_omnifuncs: string[]
default: `{ 'v:lua.vim.lsp.omnifunc' }`

The list of omnifunc names that should be disabled.

# Warning

If omnifunc is slow, your neovim will be slow down too.