github folke/snacks.nvim v2.29.0

latest release: stable
13 hours ago

2.29.0 (2025-11-04)

Features

  • gh.diff: show git status in PR diff (c671d06)
  • gh: added reviews and nice diffs to gh buffer views. See #2411 (1335ca1)
  • gh: allow to update pr branch (#2419) (f75f307)
  • gh: use new diff renderer for gh pr reviews (714edec)
  • gh: when on a review comment, the gh_comment action will now do a reply instead of a top-level comment. Fixes #2410 (a4f2b9d)
  • gh: you can now use Snacks.picker.gh_actions() directly to see actions for the checked out PR (d0d10f6)
  • picker.diff: new fancy diff renderer (22eea90)
  • picker.git_diff: show proper git status for git diff files (ab48eeb)
  • picker.git_diff: show renames (77609a0)
  • picker.lsp_config: added server/dynamic capabilities to preview (da14fac)
  • picker: consolidate all diff options under opts.previewers.diff. Default style is fancy (b65b06c)
  • zen: added center option that defaults to true for zen mode and false for zoom mode. Closes #2422 (3c2d791)

Bug Fixes

  • dashboard: start job after the terminal window is shown to make sure it has the correct size. Closes #2421 (e440df3)
  • diff: fallback if Normal has no fg color. Closes #2436 (7f453c4)
  • diff: improved diff parsing. Closes #2424. Closes #2420 (b6e4eb7)
  • diff: remove diff injections. Closes #2406 (ecc21bb)
  • gh.api: get repo from upstream remote if availble. fallback to origin (5043637)
  • gh.api: pass repo to cmd. Closes #2415 (78046eb)
  • gh.diff: fixed rendering of diff header when wrap=true (07c569d)
  • gh.item: better method to extract repo from gh url. Closes #2418 (52d544c)
  • gh.render: added support for older StatusContext checks. Closes #2407 (74864a7)
  • gh.render: use check name. See #2407 (6f60105)
  • gh: better way of determining current PR (bd3c1a0)
  • gh: input for api should be a table, not a string. Closes #2427 (1b3e409)
  • image: allow to fully disable all image rendering with opts.image.enabled = false. Closes #2404 (34a6591)
  • image: disable image conversion error notifications by default (cfcf525)
  • lsp: check lsp handlers after LspAttach, since attached_buffers won't have been set (1861b0a)
  • picker.actions: only allow stage/unstage/restore for some diffs (9cde35b)
  • picker.diff: move git status calc based on diff to format (b553c18)
  • picker.diff: parse full diff including diff and hunk headers. Closes #2429 (53d8012)
  • picker.git_diff: don't show git status, disable stage/unstage/restore when merge-base is set. Closes #2397 (6ff82ca)
  • picker.highlight: resolve all text chunks when needed. Not just the first. (962aadd)
  • picker.undo: cleanup tmp files in async:on("done"). Closes #2434 (3038dac)
  • picker.undo: set initial target to the current undo entry. See #2434 (dc245ef)
  • picker: don't focus a picker window when toggling a window and picker wasn't current. closes #2417 (b80b330)
  • revert rename of actions.lua to tomdar87@outlook.com (#2423) (8bb3ad6)
  • win: fixed fixbuf. Closes #2409 (2099572)

Don't miss a new snacks.nvim release

NewReleases is sending notifications on new releases.