-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
ddu-source-lsp_diagnostic.txt
72 lines (51 loc) · 2.05 KB
/
ddu-source-lsp_diagnostic.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
*ddu-source-lsp_diagnostic.txt* ddu source for diagnostic
Author : uga-rosa
License : MIT license
CONTENTS *ddu-source-lsp_diagnostic-contents*
Introduction |ddu-source-lsp_diagnostic-introduction|
Install |ddu-source-lsp_diagnostic-install|
Examples |ddu-source-lsp_diagnostic-examples|
Params |ddu-source-lsp_diagnostic-params|
==============================================================================
INTRODUCTION *ddu-source-lsp_diagnostic-introduction*
Ddu source for diagnostic.
Supported lsp clients are:
- nvim-lsp (neovim's diagnostic framework)
- coc.nvim (https://github.com/neoclide/coc.nvim)
- vim-lsp (https://github.com/prabirshrestha/vim-lsp)
- lspoints (https://github.com/kuuote/lspoints)
==============================================================================
INSTALL *ddu-source-lsp_diagnostic-install*
Please install "ddu.vim" and "denops.vim".
https://github.com/Shougo/ddu.vim
https://github.com/vim-denops/denops.vim
==============================================================================
EXAMPLES *ddu-source-lsp_diagnostic-examples*
>
call ddu#start(#{
\ sources: [#{
\ name: 'lsp_diagnostic',
\ params: #{
\ buffer: 0,
\ }
\ }],
\})
<
==============================================================================
PARAMS *ddu-source-lsp_diagnostic-params*
*ddu-source-lsp_diagnostic-params-clientName*
clientName (string)
This parameter specifies the lsp client to be used. The available
options are:
- nvim-lsp: Neovim's diagnostic framework (|vim.diagnostic|)
- coc.nvim: https://github.com/neoclide/coc.nvim
- vim-lsp: https://github.com/prabirshrestha/vim-lsp
- lspoints: https://github.com/kuuote/lspoints
Default: "nvim-lsp"
*ddu-source-lsp_diagnostic-param-buffer*
buffer (number | number[] | v:null)
Buffer number to get diagnostics from. Use 0 for current buffer or
v:null for all buffers.
Default: v:null
==============================================================================
vim:tw=78:ts=8:ft=help:norl:noet:fen:noet: