f93360d85490020bd30a0085e727a06b32e31c86
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%