github folke/snacks.nvim v2.31.0

latest release: stable
23 hours ago

2.31.0 (2026-03-20)

Features

  • gh: added Start Review. Closes #2463 (ac5f497)
  • gh: added cycle win and scrolling to scratch buffers when opened in a picker. Closes #2480 (021855c)
  • gh: make copilot authors as bots (c6ab189)
  • gh: make markview.nvim play nicely with snacks. See #2467 (deeb1e0)
  • gh: open scratch buffers at the bottom of the window. Closes #2476 (a6a9678)
  • gh: special formatting for code suggestions in review comments. See #2463 (f1c7f62)
  • gh: when selecting lines in a diff to add a review comment, you can now suggest code changes. See #2463 (e896fb9)
  • lua: add any treesitter injection to a string with a comment like -- inject:graphql (1d5b12d)
  • picker.actions: allow specifying an additional window for cycle_win (197f393)
  • picker.lspconfig: show available dynamic registered code actions (521ef46)
  • picker.lspconfig: show available server commands and code actions (7a90a08)
  • win: opts.footer_keys can now be an array of lhs to show instead of all. See #2469 (6d72138)
  • win: better zindex calculation (08c0951)
  • win: new border top_bottom (6134c98)

Bug Fixes

  • gh.item: timestamps should be in UTC, not local time (1ba0bf8)
  • gh.scratch: if scratch would hide the cursor, then scroll preview up taking scrolloff into account. See #2480 (a271610)
  • gh: better integration with render-markdown. Closes #2467 (717073d)
  • gh: diff comment action should only show when available (fe20e95)
  • gh: render gh comments as markdown when displaying in a non-markdown buffer. Closes #2481 (06e9ca9)
  • gh: rendering of markdown comments. Closes #2488 (dec29f5)
  • gh: set default scratch height=15 and fix bottom offset for custom height (6900f3f)
  • grep: remove MATCH_SEP before sending to notify (#2744) (9912042)
  • grep: remove nul bytes from warning messages in grep output. Fixes #2744, Closes #2768 (b2cb00e)
  • grep: use %z to replace nul bytes (a049339)
  • input: fixed completion. Closes #2472 (3024376)
  • lspconfig: handle complex values in lsp config preview. Closes #2711 (25f53f7)
  • markdown: use new markview API (9b86d57)
  • picker.actions: vim.v.count1 should be 1 in insert mode. Closes #2492 (d902c0a)
  • picker.confirm: better layout for confirm (7f62aa6)
  • picker.diff: make diff filename extmarks play nicely with markview / markdown-renderer (4f749ab)
  • picker.git: fix cwd for git diff. Closes #2483 (9076793)
  • picker.lsp: wait for pending requests. See #2527 (fe7cfe9)
  • picker.preview: remove --no-ext-diff option for git diff preview (836e073)
  • picker.spinner: when parent win is not float win (#2487) (8ca098c)
  • picker: fix nowait for <c-r> (685c433)
  • scratch: set filetype correctly. Closes #2510 (3c5c23b)
  • util.diff: proper linebreak repeat for annotation boxes (64179b9)
  • win: allow scrolling beyond eob (8b5f762)
  • win: use normkey instead of keytrans for footer keys (9bd41bb)
  • win: when a floating win becomes non-floating, remove its backdrop (c1e1500)

Performance Improvements

  • bigfile: disable completion to avoid lag when entering insert mode (#2475) (c49c3f3)

Don't miss a new snacks.nvim release

NewReleases is sending notifications on new releases.