Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milly/ddu-source-vimlsp
vim-lsp source for ddu.vim
https://github.com/milly/ddu-source-vimlsp
ddu-source ddu-vim vim-lsp
Last synced: 5 days ago
JSON representation
vim-lsp source for ddu.vim
- Host: GitHub
- URL: https://github.com/milly/ddu-source-vimlsp
- Owner: Milly
- License: mit
- Created: 2023-04-04T15:45:11.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-04-07T19:35:12.000Z (over 1 year ago)
- Last Synced: 2024-12-12T14:42:57.784Z (10 days ago)
- Topics: ddu-source, ddu-vim, vim-lsp
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddu-source-vimlsp
[vim-lsp][https://github.com/prabirshrestha/vim-lsp] source for ddu.vim
This source collects the location list of vim-lsp.
## Required
### vim-lsp
https://github.com/prabirshrestha/vim-lsp
### denops.vim
https://github.com/vim-denops/denops.vim
### ddu.vim
https://github.com/Shougo/ddu.vim
### ddu-kind-file
https://github.com/Shougo/ddu-kind-file
## Configuration example
```vim
nmap (ddu-vimlsp-implementation) call DduLspCursor('implementation')
nmap (ddu-vimlsp-references) call DduLspCursor('references')function! DduLspCursor(method) abort
call ddu#start(#{ sources: [#{
\ name: 'vimlsp',
\ params: #{
\ method: a:method,
\ textDocument: lsp#get_text_document_identifier(),
\ position: lsp#get_position(),
\ },
\}] })
endfunction
```