popup.nvim
popup.nvim copied to clipboard
[WIP] An implementation of the Popup API from vim in Neovim. Hope to upstream when complete
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...
Hi. I have a problem with the border. Sample code: `:lua require('popup').create({"Hello", "World"}, {border=true, title='test', line="cursor+1", col="cursor+0", minwidth=25, minheight=15})` resut:  Probably this problem is the cause of the problem...
- [x] Implement `pos = 'center'` option. - You had this as a `TODO`. - I had to rearrange a few things, as I needed access to `width` and `height`...
**Example call** `:lua require('popup').create({"Hello", "World"}, {border=true, title='test', line="cursor+1", col="cursor+0", minwidth=25, minheight=15})` **Expected behavior** The content floating window and the border floating window are drawn relative the cursor position. **Observed behavior**...
I've been troubleshooting some bugs and was going about fixing them so I can make a PR, but I have noticed some of the bugs I've identified actually exist in...
### Expected behaviour Title isn't wrapped. Popup width is increased to title width plus border edge on either side (vim's behaviour) ### Actual behaviour Title gets wrapped, breaking the border...
### Expected Behaviour When creating a popup and providing a title for the options table but no border, a title is drawn above the contents ### Actual Behaviour Title isn't...
This would prevent a lot of pain that I have experienced recently.
I saw in reddit that this plugin is depricated and is moved into plenary. So I wonder if this should be mentioned in the README.md file and the repo archived...