Something went wrong. Try again.
A floating `vim.ui.input` buffer that auto-resizes to fit its contents.
Something went wrong. Try again.
286 B · 13 lines
Lua
at commit eef73f7a
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