Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```