Closed lucobellic closed 1 year ago
I noticed with CI that my previous feature (https://github.com/voldikss/vim-floaterm/pull/410 ) only worked with neovim.
So strange since the CI of #410 has passed, which indicates that the CI also passed for vim, but the CI for the master branch failed.
Nevertheless, let's merge this PR. Thank you for the working!
Hello,
I noticed with CI that my previous feature (#410 ) only worked with neovim. So I added some modification and refactoring to enable it for vim popup.
This do not introduce any behavior change with default
--titleposition=left
when callingpopup_getoptions(win_getid()).title
. Nonetheless forcenter
andright
the vim popup title include borderchars and might be inconsistent with title when usingleft
alignment.I'm not familiar with vim popup, so a better solution may exist. Let me know what you think and feel free to edit the PR.
Note: CI pass in https://github.com/lucobellic/vim-floaterm/actions/runs/4968353492