github 3rd/image.nvim v1.0.0

latest releases: v1.3.0, v1.2.0, v1.1.0...
18 months ago

1.0.0 (2023-10-08)

Features

  • add "height-from-empty-lines" sizing strategy to markdown (6412397)
  • add initial implementation for kitty unicode placeholders and debugging (e65ca7c)
  • add Neorg integration (069eb23)
  • add option to only render the image under cursor for markdown and neorg (#14) (1abfecb)
  • add remote image support and integrate it with markdown (7023c7d)
  • allow kitty to handle cropping in default mode for better perf (814af48)
  • bootstrap kitty backend based on hologram.nvim (a28df8b)
  • cache intermediary converted, resized, and cropped image variants (961e5a6)
  • compute window masks and toggle overlapped window images (e524050)
  • export basic rendering operations render() and clear() (4515796)
  • extract cropping into renderer and handle with magick (573e057)
  • genesis (16d34a0)
  • handle bounds separately in backends, multi-split support (c45a050)
  • handle extmark scroll, allow editing and preview in markdown at the same time, fix kitty clear (31d12e0)
  • handle folds (e42ea8c)
  • kitty vertical split bottom crop (445fc24)
  • markdown - add clear_in_insert_mode option (c4d14a2)
  • markdown - add toggle for remote image downloads (dbf1f15)
  • markdown - resolve relative images (dd93b11)
  • move to imagemagick for image handling (3dbb7f4)
  • remote url support for neorg (images must be alone on lines and start with .image) (7f2edec)
  • rework image API and add support for magick manipulations (4fbc195)
  • rewrite most things, restructure API, extmarks, multi-window support, auto-clear, ueberzug++ (cd58741)
  • scale down big images before rendering instead of cropping right and fix rendering bug (6972ff4)
  • tmux + kitty (normal) rendering (4399f69)
  • use atomic screen updates for kitty (6623c7e)
  • window-relative rendering, refactor general structure, types, many things (2134ca7)

Bug Fixes

  • add url to image id (2c1e1a6)
  • bail early when checking for images to clear if there are no images (c891ad8)
  • bottom cropping (90c5183)
  • cache TIOCGWINSZ (847f5d6)
  • check for ft in markdown autocommands (9aa67f6)
  • check that window and buffer are valid & init namespace directly (ef15a6d)
  • clear images even if they're not rendered (ddf4b58)
  • clear images on window close (692bcb7)
  • destroy magick image after crop (8f7a054)
  • don't fetch images in insert mode (16f5407)
  • don't wrap backend and integration load errors (ae0bbc4)
  • fix images not working if initially inside folds & extmark tweaks (03f4eb7)
  • handle folds when having less lines than window height (d2a69cd)
  • handle images with zero width/height (e4d3c4c)
  • increase default tmux write delay (b8b9633)
  • kitty - clear images on exit (2561f01)
  • kitty - re-transmit images after vim resize (3037f1d)
  • kitty - save some cursor movements (11a5452)
  • leftover (8f03d32)
  • markdown - follow clear_in_insert_mode when editing in insert mode (a15734e)
  • markdown - ignore loading errors (dec5c4c)
  • only cache remote image urls, fixes same remote image in multiple splits (1738f08)
  • optimize kitty rendering (non-cropped) (52b25c3)
  • prevent unnecessary rerenders (c7d977c)
  • prevent unnecessary rerenders and recrop previous images on new splits (b2ac03f)
  • prevent useless rerenders and clean-up (4d1ab88)
  • remove extmark map entry when clearing image (4a68eda)
  • remove tmux cursor delay and silence winclosed error (0b2dae8)
  • rendering errors when geometry is not provided, limit vspace y (b6057c5)
  • rendering glitches and handle buffer change clearing through decoration provider (5979f47)
  • replace '/' with '-' in base64 encode (1e0a270)
  • rerender affected images after updating extmarks (b5e8b75)
  • rerender images below the current one after adding extmark (093ef13)
  • restore winscrolled handling (721bc43)
  • track and reset crop, fix vertical screen bounds (affcc53)
  • ueberzug - prevent useless clear (bffa411)
  • update kitty backend to the new structure (3ca9bf5)
  • wrong positioning, window/gutter offset math, ty #6 (c957678)

Performance Improvements

  • optimize rendering and always use shallow delete for kitty images (05679fa)
  • re-use fixed paths for source, resized, and cropped image variants (7a98960)
  • split pre-processing caching into resize and crop (d3b3246)

Don't miss a new image.nvim release

NewReleases is sending notifications on new releases.