Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawing a border relative to the cursor is broken #11

Open
TobiasPleyer opened this issue Apr 6, 2021 · 0 comments
Open

Drawing a border relative to the cursor is broken #11

TobiasPleyer opened this issue Apr 6, 2021 · 0 comments

Comments

@TobiasPleyer
Copy link

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
Only the content floating window is drawn relative the cursor position. The border floating window has an offset, dependent on the cursor position.

TobiasPleyer added a commit to TobiasPleyer/popup.nvim that referenced this issue Apr 6, 2021
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

No branches or pull requests

1 participant