15d38795258b34c8864a65790eee4e63b309b1cd
Turns out vim.schedule() only defers calling the function until main event loop has some free cycles but can still block the UI, just a bit later. This patch replaces the external command invoked in the callback passed into vim.schedule() with vim.fn.jobstart() and moves the other code into job callbacks.
Description
No description provided
Languages
Lua
98.3%
Vim Snippet
1.7%