add performance.filtering_context_budget

fixes #2060
This commit is contained in:
hrsh7th
2024-10-20 13:56:45 +09:00
parent c183f45fab
commit 07f3f005c9
4 changed files with 21 additions and 5 deletions

View File

@@ -456,7 +456,13 @@ performance.fetching_timeout~
Sets the timeout of candidate fetching process.
The nvim-cmp will wait to display the most prioritized source.
*cmp-config.performance.confirm_resolve_timeout*
*cmp-config.performance.filtering_context_budget*
performance.filtering_context_budget~
`number`
Sets the filtering context budget in ms.
If filtering takes longer than this, it will be deferred.
*cmp-config.performance.confirm_resolve_timeout*
performance.confirm_resolve_timeout~
`number`
Sets the timeout for resolving item before confirmation.