diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-25 22:49:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 22:49:57 +0800 |
commit | c111460b1a2686de3892a40f71e5ae21bdbae8b7 (patch) | |
tree | aa73df48d80bc4e528409ae01f37d46505a11945 /src/nvim/eval.c | |
parent | bfa92d3861e425b59f9b1793c08247965a8e53f5 (diff) | |
parent | 1dd9cd29652dd3ab5e960eb94bc9f7f48ff97670 (diff) | |
download | rneovim-c111460b1a2686de3892a40f71e5ae21bdbae8b7.tar.gz rneovim-c111460b1a2686de3892a40f71e5ae21bdbae8b7.tar.bz2 rneovim-c111460b1a2686de3892a40f71e5ae21bdbae8b7.zip |
Merge pull request #23313 from zeertzjq/vim-8.2.3768
vim-patch:8.2.{3768,3772}
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index bc33697c62..b3618c1811 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -6002,7 +6002,7 @@ void add_timer_info_all(typval_T *rettv) tv_list_alloc_ret(rettv, map_size(&timers)); timer_T *timer; map_foreach_value(&timers, timer, { - if (!timer->stopped) { + if (!timer->stopped || timer->refcount > 1) { add_timer_info(rettv, timer); } }) |