github folke/snacks.nvim v1.1.0

latest releases: stable, v2.22.0, v2.21.0...
10 months ago

1.1.0 (2024-11-08)

Features

  • bufdelete: optional filter and shortcuts to delete all and other buffers. Closes #11 (71a2346)
  • debug: simple log function to quickly log something to a debug.log file (fc2a8e7)
  • docs: docs for highlight groups (#13) (964cd6a)
  • gitbrowse: choose to open repo, branch or file. Closes #10. Closes #17 (92da87c)
  • notifier: added history to notifier. Closes #14 (65d8c8f)
  • notifier: added option to show notifs top-down or bottom-up. Closes #9 (080e0d4)
  • notifier: allow overriding hl groups per notification (8bcb2bc)
  • notifier: allow setting dynamic options (36e9f45)
  • win: added default hl groups for windows (8c0f10b)
  • win: allow setting ft just for highlighting without actually changing the filetype (cad236f)
  • win: disable winblend when colorscheme is transparent. Fixes #26 (12077bc)
  • win: equalize splits (e982aab)
  • win: util methods to handle buffer text (d3efb92)
  • win: win:focus() (476fb56)
  • words: jump optionally shows notification with reference count (#23) (6a3f865)
  • words: configurable mode to show references. Defaults to n, i, c. Closes #18 (d079fbf)

Bug Fixes

  • config: deepcopy config where needed (6c76f91)
  • config: fix reading config during setup. Fixes #2 (0d91a4e)
  • notifier: re-apply winhl since level might have changed with a replace (b8cc93e)
  • notifier: set default conceallevel=2 (662795c)
  • notifier: try to keep layout when replacing notifs (9bdb24e)
  • terminal: dont overwrite user opts (0b08d28)
  • terminal: user options (334895c)
  • win: better winfixheight and winfixwidth for splits (8be14c6)
  • win: disable sidescroloff in minimal style (107d10b)
  • win: dont center float when relative="cursor" (4991e34)
  • win: properly resolve user styles as last (cc5ee19)
  • win: set border to none for backdrop windows (#19) (f5602e6)
  • win: simpler way to add buffer padding (f59237f)
  • win: update win/buf opts when needed (5fd9c42)
  • words: disable notify_jump by default (9576081)

Performance Improvements

  • notifier: index queue by id (5df4394)
  • notifier: optimize layout code (8512896)
  • notifier: skip processing queue when free space is smaller than min height (08190a5)
  • win: skip events when setting buf/win options. Trigger FileType on BufEnter only if needed (61496a3)

Don't miss a new snacks.nvim release

NewReleases is sending notifications on new releases.