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

View File

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