-
Notifications
You must be signed in to change notification settings - Fork 2
/
ddc-matcher_fuzzy.txt
69 lines (46 loc) · 2.1 KB
/
ddc-matcher_fuzzy.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
*ddc-matcher_fuzzy.txt* Fuzzy matcher for ddc.vim
Author: matsui54 <haru.matu9168 at gmail.com>
License: MIT license
CONTENTS *ddc-matcher_fuzzy-contents*
Introduction |ddc-matcher_fuzzy-introduction|
Install |ddc-matcher_fuzzy-install|
Examples |ddc-matcher_fuzzy-examples|
Matcher |ddc-matcher_fuzzy-matchers|
Params |ddc-matcher_fuzzy-params|
==============================================================================
INTRODUCTION *ddc-matcher_fuzzy-introduction*
This matcher filters candidates which matches fuzzily with user input.
For example, candidates like "foobar" matches "fb", "foor" and so on.
==============================================================================
INSTALL *ddc-matcher_fuzzy-install*
Please install both "ddc.vim" and "denops.vim".
https://github.com/Shougo/ddc.vim
https://github.com/vim-denops/denops.vim
==============================================================================
EXAMPLES *ddc-matcher_fuzzy-examples*
>
call ddc#custom#patch_global('sourceOptions', {
\ '_': {
\ 'matchers': ['matcher_fuzzy'],
\ })
call ddc#custom#patch_global('filterParams', {
\ 'matcher_fuzzy': {'camelcase': v:true},
\ })
<
==============================================================================
MATCHERS *ddc-matcher_fuzzy-matchers*
*ddc-matcher_fuzzy-matchers-matcher_fuzzy*
matcher_fuzzy Fuzzy matcher, but the first character must be the same.
*ddc-matcher_fuzzy-matchers-matcher_full_fuzzy*
matcher_full_fuzzy Fuzzy matcher, first character doesn't need to be the same.
==============================================================================
PARAMS *ddc-matcher_fuzzy-params*
*ddc-matcher_fuzzy-param-camelcase*
camelcase (boolean)
If it is true, when user input includes uppercase character,
lowercase characters in input match with uppercase characters
of candidates.
Ex: "foB" is matched with "FooBar" but not with "foobar".
Default: v:true
==============================================================================
vim:tw=78:ts=8:ft=help:norl:noet:fen:noet: