You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I set run_on_every_keystroke to false, then how often is the server queried? Is it queried on CursorHoldI? The docs don't explain this behavior. I know this makes the queries less aggressive, but how much so?
The text was updated successfully, but these errors were encountered:
This is related to cmp's behaviour. Lets say you input an 'a', and assume you are using the buffer source. The buffer source will then return all identifiers starting with an 'a'. When you then input the next character, cmp does not need to ask buffer for different completion items, it just needs to filter the previous results to those having 'ab' (its actually doing a fuzzy filter here).
However, TabNine can generate different completion items based on the new prefix 'ab', hence the run_on_every_keystroke.
If you set it to false, your experience with TabNine's completion would suffer.
Personally, I think TabNine does not lag behind the other sources and is very responsive. That is why run_on_every_keystroke is set to true by default.
If I set
run_on_every_keystroke
tofalse
, then how often is the server queried? Is it queried onCursorHoldI
? The docs don't explain this behavior. I know this makes the queries less aggressive, but how much so?The text was updated successfully, but these errors were encountered: