-
Notifications
You must be signed in to change notification settings - Fork 0
/
ddc-source-filetype-candidates.txt
61 lines (40 loc) · 1.97 KB
/
ddc-source-filetype-candidates.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
*ddc-source-filetype-candidates.txt* filetype-candidates source for ddc.vim
Author: hokorobi <hokorobi.hokorobi at gmail.com>
License: MIT license
CONTENTS *ddc-source-filetype-candidates-contents*
Introduction |ddc-source-filetype-candidates-introduction|
Install |ddc-source-filetype-candidates-install|
Variables |ddc-source-filetype-candidates-variables|
Examples |ddc-source-filetype-candidates-examples|
==============================================================================
INTRODUCTION *ddc-source-filetype-candidates-introduction*
This source collects from text files for each filetype candidates.
==============================================================================
INSTALL *ddc-source-filetype-candidates-install*
Please install "ddc.vim", "denops.vim"
https://github.com/Shougo/ddc.vim
https://github.com/vim-denops/denops.vim
==============================================================================
VARIABLES *ddc-source-filetype-candidates-variables*
*g:ddc_source_filetype_candidates_files*
g:ddc_source_filetype_candidates_files ({[filetype: string]: string})
path to candidates files for completion by filetype.
Default: {}
==============================================================================
EXAMPLES *ddc-source-filetype-candidates-examples*
>
let g:ddc_source_filetype_list_files = {}
" autohotkey.txt: ahk2.standard.api in
" https://github.com/fincs/SciTE4autohotkey/ .
let g:ddc_source_filetype_list_files['autohotkey'] =
\ expand('~/path/to/autohotkey.txt')
" plantuml.txt: output "plantuml.jar -language"
let g:ddc_source_filetype_list_files['plantuml'] =
\ expand('~/path/to/plantuml.txt')
call ddc#custom#patch_global('sources', ['filetype-candidates'])
call ddc#custom#patch_global('sourceOptions', #{
\ filetype-candidates: #{ mark: 'X' },
\ })
<
==============================================================================
vim:tw=78:ts=8:ft=help:norl:noet:fen:noet: