Skip to content

hrsh7th/cmp-nvim-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.