make debounce and throttle time configurable (#1026)

* make debounce and throttle time configurable

* fix documentation
This commit is contained in:
MurdeRM3L0DY
2022-06-14 19:21:55 +02:00
committed by GitHub
parent 15c7bf7c0d
commit 0e65333c7f
4 changed files with 28 additions and 7 deletions

View File

@@ -366,6 +366,19 @@ enabled~
`boolean | fun(): boolean`
Toggles the plugin on and off.
*cmp-config.performance.debounce*
performance.debounce~
`number`
Sets debounce time
This is the interval used to group up completions from different sources
for filtering and displaying.
*cmp-config.performance.throttle*
performance.throttle~
`number`
Sets throttle time
This is used to delay filtering and displaying completions.
*cmp-config.preselect*
preselect~
`cmp.PreselectMode`