fix(f_wait): flush UI before blocking (#25962)

This commit is contained in:
zeertzjq
2023-11-10 15:24:36 +08:00
committed by GitHub
parent bf5cf8ae82
commit d5a85d737a
7 changed files with 82 additions and 26 deletions

View File

@@ -2559,7 +2559,6 @@ describe('lua stdlib', function()
]])
end)
it('should not block other events', function()
eq({time = true, wait_result = true}, exec_lua[[
start_time = get_time()
@@ -2601,6 +2600,7 @@ describe('lua stdlib', function()
}
]])
end)
it('should work with vim.defer_fn', function()
eq({time = true, wait_result = true}, exec_lua[[
start_time = get_time()