nvim-cmp source for omnifunc.
require'cmp'.setup {
sources = {
{
name = 'omni',
option = {
disable_omnifuncs = { 'v:lua.vim.lsp.omnifunc' }
}
}
}
}
default: { 'v:lua.vim.lsp.omnifunc' }
The list of omnifunc names that should be disabled.
If omnifunc is slow, your neovim will be slow down too.