nvim-cmp source for neovim Lua API.
require'cmp'.setup {
sources = {
{ name = 'nvim_lua' }
}
}Specify should includes deprecated things or not.
This source will complete neovim's Lua runtime API such vim.lsp.*.
You can get the vim.lsp.util.* API with this source.