diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-10-21 17:01:36 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-12-10 01:26:34 +0100 |
commit | 4abe9afbf67cec620fde9e47cb3df92f60e1cca9 (patch) | |
tree | badf3d0cad34dc28ecd1d87b9f7b38843677021d /src/nvim/api/vim.c | |
parent | ea154dfdb233db3e78a0347a7435ff4d547934a5 (diff) | |
download | rneovim-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 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions