Skip to content

v2.14.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 20 Jan 12:47
8d820a6

2.14.0 (2025-01-20)

Features

  • picker.buffer: add filetype to bufname for buffers without name (83baea0)
  • picker.debug: debug option to detect garbage collection leaks (b59f4ff)
  • picker.matcher: new opts.matcher.file_pos which defaults to true to support patterns like file:line:col or file:line. Closes #517. Closes #496. Closes #651 (5e00b0a)
  • picker: added args option for files and grep. Closes #621 (781b6f6)
  • picker: added undo picker to navigate the undo tree. Closes #638 (5c45f1c)
  • picker: added support for item.resolve that gets called if needed during list rendering / preview (b0d3266)
  • terminal: allow overriding default shell. Closes #450 (3146fd1)
  • terminal: close terminals on ExitPre. Fixes #419 (2abf208)

Bug Fixes

  • dashboard: added optional filter for recent files (32cd343)
  • debug.run: schedule only nvim_buf_set_extmark in on_print (#425) (81572b5)
  • indent: use correct hl based on indent. Fixes #422 (627af73)
  • input: put the cursor right after the default prompt (#549) (f904481)
  • notifier: added SnacksNotifierMinimal. Closes #410 (daa575e)
  • notifier: win:close instead of win:hide (f29f7a4)
  • picker.buffers: add buf number to text (70106a7)
  • picker.buffer: unselect on delete. Fixes #653 (0ac5605)
  • picker.grep: correctly insert args from pattern. See #601 (8601a8c)
  • picker.grep: debug (f0d51ce)
  • picker.lsp.symbols: only include filename for search with workspace symbols (eb0e5b7)
  • picker.lsp: backward compat with Neovim 0.95 (3df2408)
  • picker.lsp: lazy resolve item lsp locations. Fixes #650 (d0a0046)
  • picker.preview: disable relativenumber by default. Closes #664 (384b9a7)
  • picker.preview: off-by-one for cmd output (da5556a)
  • picker.preview: reset before notify (e50f2e3)
  • picker.undo: disable number and signcolumn in preview (40cea79)
  • picker.util: item.resolve for nil item (2ff21b4)
  • picker.util: relax pattern for args (6b7705c)
  • scope: parse treesitter injections. Closes #430 (985ada3)
  • statusline: fix status line cache key (#656) (af55934)
  • win: always close created scratch buffers when win closes (abd7e61)
  • zen: properly handle close (920a9d2)
  • zen: sync cursor with parent window (#547) (ba45c28), closes #539

Performance Improvements

  • picker: fixed some issues with closed pickers not always being garbage collected (eebf44a)