kawre / leetcode.nvim

A Neovim plugin enabling you to solve LeetCode problems.
MIT License
1.05k stars 45 forks source link

Some image issues #23

Closed milan-panta closed 10 months ago

milan-panta commented 10 months ago

Thank you for the awesome new feature! Some minor issues: Line wrap gets set to off again by default in the problem tab, which can be fixed by focusing the problem buffer and setting wrap to true. The image stays rendered when the console opens up. That's weird because it doesn't stay in focus when regular telescope opens up.

Screenshot 2023-11-14 at 4 52 00 PM
kawre commented 10 months ago

Yea, it's either a problem with nui or image.nvim.

I could try to fix this but i dont think just rendering the images in the description is the way to go.

I'm thinking about creating an option to render description as popup to avoid this collision or just creating a separate popup containing only question images.

As for wrap this is why