Skip to content

Commit

Permalink
fix: do layout when not visible to fix borders during blocking events
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 6, 2022
1 parent bf1ee8d commit fcf14c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/noice/view/nui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ function NuiView:show()
end

self._nui:show()
if not self._visible then
self._nui:update_layout(self:get_layout())
end

self:render(self._nui.bufnr)
end
Expand Down

0 comments on commit fcf14c5

Please sign in to comment.