feat: cmp async (#1583)

This commit is contained in:
Folke Lemaitre
2023-05-25 19:46:53 +02:00
committed by GitHub
parent 950d0e3a93
commit abb5c7519d
9 changed files with 220 additions and 51 deletions

View File

@@ -413,11 +413,22 @@ performance.throttle~
This is used to delay filtering and displaying completions.
*cmp-config.performance.fetching_timeout*
performance.fetching_timeout~
performance.fetching_timeout~
`number`
Sets the timeout of candidate fetching process.
The nvim-cmp will wait to display the most prioritized source.
*cmp-config.performance.async_budget*
performance.async_budget~
`number`
Maximum time (in ms) an async function is allowed to run during
one step of the event loop.
*cmp-config.performance.max_view_entries*
performance.max_view_entries~
`number`
Maximum number of items to show in the entries list.
*cmp-config.preselect*
preselect~
`cmp.PreselectMode`