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

fix: image display problem #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

m1dsolo
Copy link

@m1dsolo m1dsolo commented Mar 14, 2024

The default image.nvim configuration may cause some image display problems.
I hope the new image.nvim configuration can appear in README.md to prevent others from encountering the same problem as me.

1. too wide images

problem

too-wide-images-problem

The default value is max_width_window_percentage = nil.
It will cause the the image to cross from the description area to the code area.

solve

To solve this just set max_width_window_percentage = 100.

too-wide-images-solve

2. image overlaps the console area

problem

image-overlap-problem

Image will overlaps the console area. #23 also has the same problem.

solve

To solve this just set window_overlap_clear_enabled = true.

image-overlap-solve

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

Successfully merging this pull request may close these issues.

None yet

1 participant