Merge pull request #18554 from kevinhwang91/perf-timerstart

perf(_editor): no need to stop inside vim.defer_fn
This commit is contained in:
bfredl 2022-05-17 18:59:48 +02:00 committed by GitHub
commit 8a39032fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -406,7 +406,6 @@ function vim.defer_fn(fn, timeout)
timeout, timeout,
0, 0,
vim.schedule_wrap(function() vim.schedule_wrap(function()
timer:stop()
timer:close() timer:close()
fn() fn()