neovim

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

async_leftpad.lua (163B)


      1 return function(val, res)
      2  local handle
      3  handle = vim.uv.new_async(function()
      4    _G[res] = require 'leftpad'(val)
      5    handle:close()
      6  end)
      7  handle:send()
      8 end