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.
- Host: GitHub
- URL: https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol
- Owner: hrsh7th
- Created: 2021-10-27T15:38:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T07:17:21.000Z (over 1 year ago)
- Last Synced: 2025-03-24T07:56:59.866Z (7 months ago)
- Topics: nvim-cmp
- Language: Lua
- Homepage:
- Size: 9.77 KB
- Stars: 190
- Watchers: 2
- Forks: 8
- Open Issues: 6
-
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' }
})
})
```