Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hrsh7th/cmp-omni
- Owner: hrsh7th
- License: mit
- Created: 2021-09-28T02:56:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-24T10:26:06.000Z (about 1 year ago)
- Last Synced: 2024-05-11T01:32:24.381Z (5 months ago)
- Topics: nvim-cmp
- Language: Lua
- Homepage:
- Size: 6.84 KB
- Stars: 44
- Watchers: 4
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.