diff --git a/lua/noice/util/nui.lua b/lua/noice/util/nui.lua index d54a8c0..60811cd 100644 --- a/lua/noice/util/nui.lua +++ b/lua/noice/util/nui.lua @@ -94,6 +94,9 @@ function M.normalize_popup_options(opts) if opts.border and (not opts.border.style or opts.border.style == "none" or opts.border.style == "shadow") then opts.border.text = nil end + if opts.border and opts.border.style == "shadow" then + opts.border.padding = nil + end return opts end