aboutsummaryrefslogtreecommitdiff
path: root/test/functional/viml/function_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-10-21 17:01:36 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-12-10 01:26:34 +0100
commit4abe9afbf67cec620fde9e47cb3df92f60e1cca9 (patch)
treebadf3d0cad34dc28ecd1d87b9f7b38843677021d /test/functional/viml/function_spec.lua
parentea154dfdb233db3e78a0347a7435ff4d547934a5 (diff)
downloadrneovim-4abe9afbf67cec620fde9e47cb3df92f60e1cca9.tar.gz
rneovim-4abe9afbf67cec620fde9e47cb3df92f60e1cca9.tar.bz2
rneovim-4abe9afbf67cec620fde9e47cb3df92f60e1cca9.zip
out_data_decide_throttle(): timeout instead of hard limit.
Instead of managing max_visits, check the time every N visits. This avoids edge cases where max_visits is large but the chunk frequency slowed down, which would causing the "..." pulse to show for a very long time. It's more important to show output at reasonable intervals than to avoid calling os_hrtime().
Diffstat (limited to 'test/functional/viml/function_spec.lua')
0 files changed, 0 insertions, 0 deletions