Something went wrong. Try again.
A floating `vim.ui.input` buffer that auto-resizes to fit its contents.
Something went wrong. Try again.
275 B · 13 lines
Lua
at master
1234567891011121314local Input = require("lib.input")
local M = {}
---@param config? multinput.Configfunction M.setup(config) vim.ui.input = function(opts, on_confirm) local input = Input:new(config or {}, opts or {}, on_confirm) input:open(opts.default or "") endend
return M