aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/timer_spec.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-07-20 18:28:16 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-25 19:25:30 -0500
commit0519a75f6eca1065a4d0184f99c71ae03a99b9b1 (patch)
tree16f28a8a5e9768079cabd97c379d14962232b6d7 /test/functional/eval/timer_spec.lua
parent84faeb07d0018c674c2bc730333fefae6123f366 (diff)
downloadrneovim-0519a75f6eca1065a4d0184f99c71ae03a99b9b1.tar.gz
rneovim-0519a75f6eca1065a4d0184f99c71ae03a99b9b1.tar.bz2
rneovim-0519a75f6eca1065a4d0184f99c71ae03a99b9b1.zip
vim-patch:8.1.0822: peeking and flushing output slows down execution
Problem: Peeking and flushing output slows down execution. Solution: Do not update the mode message when global_busy is set. Do not flush when only peeking for a character. (Ken Takata) https://github.com/vim/vim/commit/cb574f415486adff645ce384979bfecf27f5be8c
Diffstat (limited to 'test/functional/eval/timer_spec.lua')
-rw-r--r--test/functional/eval/timer_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/eval/timer_spec.lua b/test/functional/eval/timer_spec.lua
index 9ee0735e40..3f57568b8e 100644
--- a/test/functional/eval/timer_spec.lua
+++ b/test/functional/eval/timer_spec.lua
@@ -130,12 +130,12 @@ describe('timers', function()
nvim_async("command", "call timer_start("..load_adjust(100)..", 'AddItem', {'repeat': -1})")
screen:expect([[
- ITEM 1 |
+ ^ITEM 1 |
ITEM 2 |
{1:~ }|
{1:~ }|
{1:~ }|
- ^ |
+ |
]])
nvim_async("command", "let g:cont = 1")