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
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.
2. image overlaps the console area
problem
Image will overlaps the console area. #23 also has the same problem.
solve
To solve this just set window_overlap_clear_enabled = true.
The default
image.nvim
configuration may cause some image display problems. I hope the newimage.nvim
configuration can appear inREADME.md
to prevent others from encountering the same problem as me.1. 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
.2. image overlaps the console area
problem
Image will overlaps the console area. #23 also has the same problem.
solve
To solve this just set
window_overlap_clear_enabled = true
.