An open API service indexing awesome lists of open source software.

https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol

nvim-cmp source for textDocument/documentSymbol via nvim-lsp.
https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol

nvim-cmp

Last synced: 6 months ago
JSON representation

nvim-cmp source for textDocument/documentSymbol via nvim-lsp.

Awesome Lists containing this project

README

          

# cmp-nvim-lsp-document-symbol

nvim-cmp source for textDocument/documentSymbol via nvim-lsp.

The purpose is the demonstration customize `/` search by nvim-cmp.

# Setup

```lua
require'cmp'.setup.cmdline('/', {
sources = cmp.config.sources({
{ name = 'nvim_lsp_document_symbol' }
}, {
{ name = 'buffer' }
})
})
```