Skip to content

Commit c2bb2d8

Browse files
authored
fix: correct position of titlehighlight when top border disabled (#278)
1 parent 5d4a65a commit c2bb2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/plenary/window/border.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function Border._create_lines(content_win_id, content_win_options, border_win_op
143143
botright
144144
)
145145
for _, r in pairs(bot_ranges) do
146-
table.insert(ranges, { content_win_options.height + 1, r[1], r[2] })
146+
table.insert(ranges, { content_win_options.height + thickness.top, r[1], r[2] })
147147
end
148148
break
149149
end

0 commit comments

Comments
 (0)