vim-floaterm icon indicating copy to clipboard operation
vim-floaterm copied to clipboard

feat: Use neovim 0.5 native float borders

Open adigitoleo opened this issue 3 years ago • 3 comments

Retains neovim 0.4 support for now, could be removed later.

#342

Problem: how to implement window titles? Neovim float API still doesn't have a title option unlike vim, and I don't know if it is possible to draw on top of the border...

adigitoleo avatar Feb 05 '22 02:02 adigitoleo

@voldikss Any thoughts on what to do about the window title in this case? ~~I've opened an issue at neovim, but it could take some time to arrive: https://github.com/neovim/neovim/issues/17458~~

The title is not going to be a feature of the floating window API, so we'll have to come up with something ourselves.

adigitoleo avatar Feb 19 '22 09:02 adigitoleo

@adigitoleo Many thanks to you for the attention for this. I'm really busy these days and maybe have no time to dig into the new features added in neovim.

Now that neovim doesn't provider native 'title' support for floating window, I am going to suspend and look into some other implements(e.g. there are some lua floating ui plugin for neovim) and hope to find some inpirations.

voldikss avatar Feb 20 '22 08:02 voldikss

There is a PR for floatwin title now. https://github.com/neovim/neovim/pull/20184

EDIT: merged into master now!

registerGen avatar Sep 14 '22 12:09 registerGen