Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 425 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 425 Bytes

cmp-omni

nvim-cmp source for omnifunc.

Setup

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.