mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
9 lines
163 B
Lua
9 lines
163 B
Lua
return function(val, res)
|
|
local handle
|
|
handle = vim.uv.new_async(function()
|
|
_G[res] = require 'leftpad'(val)
|
|
handle:close()
|
|
end)
|
|
handle:send()
|
|
end
|