dorkhub

cmp-nvim-lua

nvim-cmp source for nvim lua

hrsh7th
Lua3239 forksMITupdated 8 months ago
git clone https://github.com/hrsh7th/cmp-nvim-lua.githrsh7th/cmp-nvim-lua

cmp-nvim-lua

nvim-cmp source for neovim Lua API.

Setup

require'cmp'.setup {
  sources = {
    { name = 'nvim_lua' }
  }
}

Options

include_deprecated (boolean: default false)

Specify should includes deprecated things or not.

What is this source?

This source will complete neovim's Lua runtime API such vim.lsp.*.

You can get the vim.lsp.util.* API with this source.

more like this

search

search projects, people, and tags