Release /
snacks.nvim v2.31.0
Suggest code changes while commenting on selected lines in a GitHub pull-request diff.
Before you upgrade to v2.31.0
Large-file buffers disable completion to avoid lag when entering insert mode.
Read the evidence
Git diff previews no longer pass `--no-ext-diff`.
Read the evidence
What changed in v2.31.0
GitHub review comments can include code suggestions, and the action menu can start a review. LSP configuration previews show server commands and code actions, including dynamically registered actions.
Also: Adds starting a review and LSP command/action inspection; fixes input completion and disables completion in large-file buffers.
Install tag v2.31.0 with Neovim >= 0.9.4; GitHub tools need authenticated GitHub CLI and the Snacks picker.
New things you can do
A comment such as `-- inject:graphql` selects the language to inject into a Lua string.
Fixed and improved
Start a review and suggest code changes when adding a review comment to selected diff lines; code suggestions receive dedicated formatting.
Read the evidence
GitHub comments render as Markdown in non-Markdown buffers and integrate with markview and render-markdown.
Read the evidence
Inspect available server commands and code actions, including dynamically registered actions, in the LSP configuration picker.
Read the evidence
LSP pickers wait for pending requests; configuration previews handle complex values.
Read the evidence
Input prompt completion works again.
Read the evidence
Scratch buffers receive the correct filetype.
Read the evidence
Git diff uses the correct working directory.
Read the evidence
Invalid grep-output notifications replace NUL bytes with spaces.
Read the evidence
Choose a subset of footer key hints with an array in `footer_keys`, and use the new `top_bottom` border.
Read the evidence
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.