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

Drawing a border relative to the cursor is broken

Open TobiasPleyer opened this issue 5 years ago • 0 comments

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 avatar Apr 06 '21 22:04 TobiasPleyer