Skip to content

v2.15.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jan 22:59
95bfaf1

2.15.0 (2025-01-23)

Features

  • debug: truncate inspect to 2000 lines max (570d219)
  • input: input history. Closes #591 (80db91f)
  • input: persistent history. Closes #591 (0ed68bd)
  • picker.debug: more info about potential leaks (8d9677f)
  • picker.filter: Filter arg for filter (5a4b684)
  • picker.finder: optional transform function (5e69fb8)
  • picker.format: filename_only option (0396bdf)
  • picker.git: git_log, git_log_file, git_log_line now do git_checkout as confirm. Closes #722 (e6fb538)
  • picker.help: add more color to help tags (5778234)
  • picker.keymaps: add global + buffer toggles (#705) (b7c08df)
  • picker.keymaps: improvements to keymaps picker (2762c37)
  • picker.matcher: frecency and cwd bonus can now be enabled on any picker (7b85dfc)
  • picker.multi: multi now also merges keymaps (8b2c78a)
  • picker.preview: better positioning of preview location (3864955)
  • picker.preview: fallback highlight of results when no end_pos. Mostly useful for grep. (d12e454)
  • picker.smart: add bufdelete actions from buffers picker (#679) (67fbab1)
  • picker.smart: re-implemented smart as multi-source picker (450d1d4)
  • picker.util: smart path truncate. Defaults to 40. Closes #708 (bab8243)
  • picker: added lazy source to search for a plugin spec. Closes #680 (d03bd00)
  • picker: added opts.rtp (bool) to find/grep over files in the rtp. See #680 (9d5d3bd)
  • picker: added new icons picker for nerd fonts and emoji. Closes #703 (97898e9)
  • picker: getters and setters for cwd (2c2ff4c)
  • picker: multi source picker. Combine multiple pickers (as opposed to just finders) in one picker (9434986)
  • picker: persistent history. Closes #528 (ea665eb)
  • picker: preview window horizontal scrolling (#686) (bc47e0b)
  • picker: syntax highlighting for command and search history (efb6d1f)
  • profiler: added support for Snacks.profiler and dropped support for fzf-lua / telescope. Closes #695 (ada83de)

Bug Fixes

  • picker.actions: checktime after git_checkout (b86d90e)
  • picker.async: better handling of abort and schedule/defer util function (dfcf27e)
  • picker.async: fixed aborting a coroutine from the coroutine itself. See #665 (c1e2c61)
  • picker.files: include symlinks (dc9c6fb)
  • picker.frecency: track visit on BufWinEnter instead of BufReadPost and exclude floating windows (024a448)
  • picker.git_branches: handle detached HEAD (#671) (390f687)
  • picker.git: --follow only works for git_log_file. Closes #666 (23a8668)
  • picker.git: parse all detached states. See #671 (2cac667)
  • picker.grep: off-by-one for grep results col (e3455ef)
  • picker.icons: bump build for nerd fonts (ba108e2)
  • picker.icons: fix typo in Nerd Fonts and display the full category name (#716) (a4b0a85)
  • picker.icons: opts.icons -> opts.icon_sources. Fixes #715 (9e7bfc0)
  • picker.input: better handling of stopinsert with prompt buffers. Closes #723 (c2916cb)
  • picker.input: correct cursor position in input when cycling / focus. Fixes #688 (93cca7a)
  • picker.lsp: include_current on Windows. Closes #678 (66d2854)
  • picker.lsp: make lsp_symbols work for unloaded buffers (9db49b7)
  • picker.lsp: schedule_wrap cancel functions and resume when no clients (6cbca8a)
  • picker.lsp: use async from ctx (b878caa)
  • picker.lsp: use correct buf/win (8006caa)
  • picker.preview: clear buftype for file previews (5429dff)
  • picker.undo: use new API. Closes #707 (79a6eab)
  • picker.util: for -- args require a space before (ee6f21b)
  • picker.util: more relaxed resolve_loc (964beb1)
  • picker.util: prevent empty shortened paths if it's the cwd. Fixes #721 (14f16ce)
  • picker: better handling of buffers with custom URIs. Fixes #677 (cd5eddb)
  • picker: don't jump to invalid positions. Fixes #712 (51adb67)
  • picker: don't try showing the preview when the picker is closed. Fixes #714 (11c0761)
  • picker: resume. Closes #709 (9b55a90)
  • picker: starting a picker from the picker sometimes didnt start in insert mode. Fixes #718 (08d4f14)
  • picker: update title on find. Fixes #717 (431a24e)
  • scroll: handle buffer changes while animating (3da0b0e)
  • win: better way of finding a main window when fixbuf is true (84ee7dd)
  • zen: parent buf. Fixes #720 (f314676)

Performance Improvements

  • picker.frecency: cache all deadlines on load (5b3625b)
  • picker: gc optims (3fa2ea3)
  • picker: small optims (ee76e9b)
  • picker: small optims for abort (317a209)
  • picker: use picker ref in progress updater. Fixes #710 (37f3888)