Skip to content

Commit

Permalink
fix: correctly apply padding based on four numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 18, 2022
1 parent 367b77f commit c9c1fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/noice/util/nui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function M.normalize_padding(opts)
left = opts.padding[2],
right = opts.padding[2],
}
elseif #opts.padding == 2 then
elseif #opts.padding == 4 then
return {
top = opts.padding[1],
right = opts.padding[2],
Expand Down

0 comments on commit c9c1fbd

Please sign in to comment.