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

Commit 9e70f6e

Browse files
committed
doc: document update
1 parent abeb79f commit 9e70f6e

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,6 @@ let g:completion_enable_auto_hover = 0
158158
let g:completion_enable_auto_signature = 0
159159
```
160160

161-
162-
163161
### Enable/Disable fuzzy match
164162
- By default fuzzy match is disable, you can enable it by
165163

@@ -201,7 +199,7 @@ completion-nvim: `substring`, `fuzzy` or `exact`.
201199
assign priority from high to low. For example
202200

203201
```vim
204-
let g:completion_matching_strategy_list = ['exact', 'substring', fuzzy]
202+
let g:completion_matching_strategy_list = ['exact', 'substring', 'fuzzy']
205203
```
206204

207205
- You can also enable ignore case matching by
@@ -231,6 +229,14 @@ augroup CompleteionTriggerCharacter
231229
autocmd BufEnter *.c,*.cpp let g:completion_trigger_character = ['.', '::']
232230
augroup end
233231
```
232+
### Trigger on delete
233+
234+
- `completion-nvim` doesn't trigger completion on delete by default because sometimes I've found it annoying. However,
235+
you can enable it by
236+
237+
```vim
238+
let g:completion_tigger_on_delete = 1
239+
```
234240

235241
### Timer Adjustment
236242

doc/completion-nvim.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,16 @@ g:completion_trigger_character *g:completion_trigger_character*
174174

175175
default value: ['.']
176176

177+
g:completion_trigger_on_delete *g:completion_trigger_on_delete*
178+
179+
180+
completion-nvim doesn't trigger completion on delete by default because
181+
sometimes I've found it annoying. However, you can enable it by
182+
>
183+
let g:completion_trigger_on_delete = 1
184+
<
185+
186+
177187
g:completion_timer_cycle *g:completion_timer_cycle*
178188

179189
completion-nvim uses a timer to control the rate of completion. Adjust

0 commit comments

Comments
 (0)