popup.nvim icon indicating copy to clipboard operation
popup.nvim copied to clipboard

[WIP] An implementation of the Popup API from vim in Neovim. Hope to upstream when complete

Results 11 popup.nvim issues
Sort by recently updated
recently updated
newest added

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: ![Screenshot_2021-09-21_08-44-49](https://user-images.githubusercontent.com/1674586/134125473-94732386-e92d-4c4b-9215-a2a05cd5df78.png) 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...