diff --git a/lua/noice/util/nui.lua b/lua/noice/util/nui.lua index 1d8b8a0..d54a8c0 100644 --- a/lua/noice/util/nui.lua +++ b/lua/noice/util/nui.lua @@ -91,7 +91,7 @@ function M.normalize_popup_options(opts) end -- fix border text - if opts.border and opts.border.style == "none" then + if opts.border and (not opts.border.style or opts.border.style == "none" or opts.border.style == "shadow") then opts.border.text = nil end return opts