https://github.com/hrsh7th/cmp-nvim-lua
nvim-cmp source for nvim lua
https://github.com/hrsh7th/cmp-nvim-lua
nvim-cmp
Last synced: about 1 year ago
JSON representation
nvim-cmp source for nvim lua
- Host: GitHub
- URL: https://github.com/hrsh7th/cmp-nvim-lua
- Owner: hrsh7th
- Created: 2021-08-17T16:09:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T05:02:01.000Z (almost 2 years ago)
- Last Synced: 2025-03-30T12:08:52.573Z (about 1 year ago)
- Topics: nvim-cmp
- Language: Lua
- Homepage:
- Size: 5.86 KB
- Stars: 324
- Watchers: 8
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-neovim - hrsh7th/cmp-nvim-lua - `nvim-cmp` source for the Neovim Lua API. (Completion / Diagnostics)
- awesome-neovim-sorted - hrsh7th/cmp-nvim-lua - cmp source for nvim lua | (Completion)
README
# cmp-nvim-lua
nvim-cmp source for neovim Lua API.
# Setup
```lua
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.