mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
In PR 1560, @phanen reported an additional case that was not handled by that fix when the style is set to `relative = "editor"`. This new patch adds a check to handle that case. ## Description ## This patch adds a check for `Snacks.config.styles.snacks_image.relative ~= "editor"` to the conditional in render_fallback that handles the off-by-one error. The previous patch fixed the relative = "cursor" case, but introduced a regression in the relative = "editor" case. |
||
|---|---|---|
| .. | ||
| snacks | ||
| trouble/sources | ||