From f9595ae6ccb7e17e120eec9f4691b65ddc020b89 Mon Sep 17 00:00:00 2001 From: KUDO Shunsuke Date: Thu, 2 Sep 2021 21:28:02 +0900 Subject: [PATCH] add document --- doc/ddc-vim-lsp.txt | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 doc/ddc-vim-lsp.txt diff --git a/doc/ddc-vim-lsp.txt b/doc/ddc-vim-lsp.txt new file mode 100644 index 0000000..266c904 --- /dev/null +++ b/doc/ddc-vim-lsp.txt @@ -0,0 +1,44 @@ +*ddc-vim-lsp.txt* LSP completion by vim-lsp for ddc.vim + +Author: KUDO Shunsuke +License: MIT license + +CONTENTS *ddc-vim-lsp-contents* + +Introduction |ddc-vim-lsp-introduction| +Install |ddc-vim-lsp-install| +Examples |ddc-vim-lsp-examples| +Params |ddc-vim-lsp-params| + + +============================================================================== +INTRODUCTION *ddc-vim-lsp-introduction* + +This source collects candidates from Language Server by vim-lsp the cursor. + +============================================================================== +INSTALL *ddc-vim-lsp-install* + +Please install below plugins. + +https://github.com/Shougo/ddc.vim +https://github.com/vim-denops/denops.vim +https://github.com/Shougo/ddc-matcher_head +https://github.com/prabirshrestha/vim-lsp + +============================================================================== +EXAMPLES *ddc-vim-lsp-examples* + +> + " Use ddc-vim-lsp source. + call ddc#custom#patch_global('sources', ['ddc-vim-lsp']) + call ddc#custom#patch_global('sourceOptions', { + \ 'ddc-vim-lsp': { + \ 'matchers': ['matcher_head'], + \ 'mark': 'lsp', + \ }, + \ }) +< + +============================================================================== +vim:tw=78:ts=8:ft=help:norl:noet:fen:noet: