gh-liu / cmp-omni

nvim-cmp source for omnifunc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

nvim-cmp source for omnifunc

License:MIT License


Languages

Language:Lua 91.8%Language:Vim Script 8.2%