Skip to content

Commit

Permalink
fix(nui): removed work-around for padding and border style shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 17, 2022
1 parent e7ca271 commit 4f34d33
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lua/noice/util/nui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ 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

Expand Down

0 comments on commit 4f34d33

Please sign in to comment.