Skip to content

fixing title is not appear when it has no border#22

Open
zaenulhilmi wants to merge 1 commit intonvim-lua:masterfrom
zaenulhilmi:title_not_showing_if_no_border
Open

fixing title is not appear when it has no border#22
zaenulhilmi wants to merge 1 commit intonvim-lua:masterfrom
zaenulhilmi:title_not_showing_if_no_border

Conversation

@zaenulhilmi
Copy link

Title is not showing when there's no border when creating popup. for example

:lua require('popup').create({"Hello", "World"}, {title="Title", line="cursor+1", col="cursor+0", minwidth=25, minheight=15})

I found out that title is generated inside border top of plenary. So we need to create Border from plenary because we need the top part of the border, but still make all other side using thickness of 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant