Skip to content

Commit

Permalink
fix(nui): redo layout when border changes
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 13, 2024
1 parent e55ce94 commit 0327de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/noice/view/nui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function NuiView:reset(old, new)
if self._nui then
local layout = false
local diff = vim.tbl_filter(function(key)
if vim.tbl_contains({ "relative", "size", "position" }, key) then
if vim.tbl_contains({ "relative", "size", "position", "border" }, key) then
layout = true
return false
end
Expand Down

0 comments on commit 0327de8

Please sign in to comment.