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

[bug] incorrect rendering of popup

Open embe221ed opened this issue 1 year ago • 3 comments

hello!

I've recently switched to the OneDark neovim theme and the command line popup started to render incorrectly. after playing with it for a while, I've been able to "resolve" the issue by removing that line:

vim.api.nvim_command("redraw")

in Border:_open_window function. however, I don't think this is the correct fix.

how it looks without the mentioned change:

Screenshot 2024-03-20 at 09 39 24

how it looks after removing the redraw line:

Screenshot 2024-03-20 at 09 39 40

embe221ed avatar Mar 20 '24 08:03 embe221ed

You need to give me some codes to repro it.

MunifTanjim avatar Mar 20 '24 09:03 MunifTanjim

ah, sorry for that. I'll try to prepare a minimal setup that reproduces the issue

embe221ed avatar Mar 20 '24 10:03 embe221ed

this is my full config: https://github.com/embe221ed/scripts/tree/main/configs/nvim

embe221ed avatar Mar 20 '24 11:03 embe221ed