neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit a33caf9b45f8d0832e9de07669fbc33ed4efafd9
parent 030417d80bac7fb3e9574b7cb1b81dca8fedda32
Author: kevinhwang91 <kevin.hwang@live.com>
Date:   Fri, 13 May 2022 14:16:47 +0800

perf(_editor): no need to stop inside vim.defer_fn

uv_run:
1. remove timer handle from heap
2. will start again if repeat is not 0

Diffstat:
Mruntime/lua/vim/_editor.lua | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua @@ -406,7 +406,6 @@ function vim.defer_fn(fn, timeout) timeout, 0, vim.schedule_wrap(function() - timer:stop() timer:close() fn()