Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 5c60c73

Browse files
committed
fix: typo in README
1 parent ba3fdb5 commit 5c60c73

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,18 +195,18 @@ let g:completion_sorting = "length"
195195
### Matching Strategy
196196

197197
- There are three different kind of matching technique implement in
198-
completion-nvim: `substr`, `fuzzy` or `exact`.
198+
completion-nvim: `substring`, `fuzzy` or `exact`.
199199

200200
- You can specify a list of matching strategy, completion-nvim will loop through the list and
201201
assign priority from high to low. For example
202202

203203
```vim
204-
let g:completion_matching_strategy_list = ['exact', 'substr', fuzzy]
204+
let g:completion_matching_strategy_list = ['exact', 'substring', fuzzy]
205205
```
206206

207207
- You can also enable ignore case matching by
208208
```vim
209-
g:completion_matching-strategy_list = 1
209+
g:completion_matching_ignore_case = 1
210210
```
211211

212212
### Trigger Characters

doc/completion-nvim.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,11 @@ g:completion_auto_change_source *g:completion_auto_change_source*
307307
g:completion_matching-strategy_list *g:completion-matching-strategy-list*
308308

309309
There are three different kind of matching technique implement in
310-
completion-nvim: 'substr', 'fuzzy' or 'exact'. You can specify a list
310+
completion-nvim: 'substring', 'fuzzy' or 'exact'. You can specify a list
311311
of matching strategy, completion-nvim will loop through the list and
312312
assign priority from high to low. For example
313313
>
314-
let g:completion_matching_strategy_list = ['exact', 'substr', fuzzy]
314+
let g:completion_matching_strategy_list = ['exact', 'substring', fuzzy]
315315
<
316316
default value: ['exact']
317317

0 commit comments

Comments
 (0)