From 1e60c07ae9a8557ac6395144606c3a5335ad47e0 Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Thu, 14 Jul 2022 23:37:29 +0000 Subject: [PATCH] format: apply new stylua formatting --- lua/dressing/input.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lua/dressing/input.lua b/lua/dressing/input.lua index ac7a0bf..e26b693 100644 --- a/lua/dressing/input.lua +++ b/lua/dressing/input.lua @@ -184,12 +184,8 @@ local function create_or_update_win(config, prompt, opts) } end -- First calculate the desired base width of the modal - local prefer_width = util.calculate_width( - config.relative, - config.prefer_width, - config, - parent_win - ) + local prefer_width = + util.calculate_width(config.relative, config.prefer_width, config, parent_win) -- Then expand the width to fit the prompt and default value prefer_width = math.max(prefer_width, 4 + vim.api.nvim_strwidth(prompt)) if opts.default then