Refresh generated neovim config
This commit is contained in:
@ -57,6 +57,12 @@ local function get_child_size(parent, child, container_size, growable_dimension_
|
||||
if child.component.border then
|
||||
inner_size.width = inner_size.width - child.component.border._.size_delta.width
|
||||
inner_size.height = inner_size.height - child.component.border._.size_delta.height
|
||||
|
||||
if inner_size.height <= 0 then
|
||||
local height_adjustment = math.abs(inner_size.height) + 1
|
||||
inner_size.height = inner_size.height + height_adjustment
|
||||
outer_size.height = outer_size.height + height_adjustment
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -484,7 +484,7 @@ function Border:init(popup, options)
|
||||
style = "minimal",
|
||||
border = "none",
|
||||
focusable = false,
|
||||
zindex = self.popup.win_config.zindex - 1,
|
||||
zindex = self.popup.win_config.zindex,
|
||||
anchor = self.popup.win_config.anchor,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user