Ecosyste.ms: Awesome
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: about 2 months ago
JSON representation
nvim-cmp source for textDocument/documentSymbol via nvim-lsp.
- Host: GitHub
- URL: https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol
- Owner: hrsh7th
- Created: 2021-10-27T15:38:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T07:17:21.000Z (4 months ago)
- Last Synced: 2024-05-29T20:03:49.545Z (4 months ago)
- Topics: nvim-cmp
- Language: Lua
- Homepage:
- Size: 9.77 KB
- Stars: 174
- Watchers: 2
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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' }
})
})
```