Skip to content

Latest commit

 

History

History
235 lines (171 loc) · 23.8 KB

CHANGELOG.md

File metadata and controls

235 lines (171 loc) · 23.8 KB

Changelog

2.4.0 (2024-11-19)

Features

  • dashboard: hide tabline and statusline when loading during startup (75dc74c)
  • dashboard: when an item is wider than pane width and only one pane, then center it. See #108 (c15953e)
  • gitbrowse: open also visual selection range (#89) (c29c0d4)
  • win: detect alien buffers opening in managed windows and open them somewhere else. Fixes #110 (9c0d2e2)

Bug Fixes

  • dashboard: always hide cursor (68fcc25)
  • dashboard: check session managers in order (1acea8b)
  • dashboard: fix race condition when sending data while closing (4188446)
  • dashboard: minimum one pane even when it doesn't fit the screen. Fixes #104 (be8feef)
  • dashboard: only check for piped stdin when in TUI. Ignore GUIs (3311d75)
  • dashboard: remove weird preset.keys function override. Just copy defaults if you want to change them (0b9e09c)

2.3.0 (2024-11-18)

Features

  • added dashboard health checks (deb00d0)
  • dashboard: added support for mini.sessions (c8e209e)
  • dashboard: allow opts.preset.keys to be a function with default keymaps as arg (b7775ec)
  • dashboard: automatically detect streaming commands and don't cache those. tty-clock, cmatrix galore. Fixes #100 (082beb5)
  • notifier: timeout=0 keeps the notif visible till manually hidden. Closes #102 (0cf22a8)

Bug Fixes

  • dashboard: check uis for headless and stdin_tty. Fixes #97. Fixes #98 (4ff08f1)
  • dashboard: debug output (c0129da)
  • dashboard: disable vim.wo.colorcolumn (#101) (43b4abb)
  • dashboard: notify on errors. Fixes #99 (2ae4108)
  • debug: MYVIMRC is not always set (735f4d8)
  • notifier: also handle timeout = false / timeout = true. See #102 (99f1f49)

2.2.0 (2024-11-18)

Features

  • dashboard: added new dashboard snack (#77) (d540fa6)
  • debug: Snacks.debug.trace and Snacks.debug.stats for hierarchical traces (like lazy profile) (b593598)
  • notifier: global keep when in cmdline (73b1e20)

2.1.0 (2024-11-16)

Features

  • notifier: allow specifying a minimal level to show notifications. See #82 (ec9cfb3)
  • terminal: when terminal terminates too quickly, don't close the window and show an error message. See #80 (313954e)

Bug Fixes

2.0.0 (2024-11-14)

⚠ BREAKING CHANGES

  • config: plugins are no longer enabled by default. Pass any options, or set enabled = true.

Features

  • config: plugins are no longer enabled by default. Pass any options, or set enabled = true. (797708b)
  • health: added health checks to plugins (1c4c748)
  • terminal: added Snacks.terminal.colorize() to replace ansi codes by colors (519b684)

Bug Fixes

  • lazygit: not needed to use deprecated fallback for set_hl (14f076e)
  • notifier: disable colorcolumn by default (#66) (7627b81)
  • statuscolumn: ensure Snacks exists when loading before plugin loaded (97e0e1e)
  • terminal: properly deal with args in vim.o.shell. Fixes #69 (2ccb70f)
  • win: take border into account for window position (#64) (f0e47fd)

1.2.0 (2024-11-11)

Features

  • bufdelete: added wipe option. Closes #38 (5914cb1)
  • lazygit: allow overriding extra lazygit config options (d2f4f19)
  • notifier: added refresh option configurable (df8c9d7)
  • notifier: added backward compatibility for nvim-notify's replace option (9b9777e)
  • words: add fold_open and set_jump_point config options (#31) (5dc749b)

Bug Fixes

  • added compatibility with Neovim >= 0.9.4 (4f99818)
  • bufdelete: opts.wipe. See #38 (0efbb93)
  • notifier: take title/footer into account to determine notification width. Fixes #54 (09a6f17)
  • notifier: update layout on vim resize (7f9f691)
  • terminal: gf properly opens file (#45) (340cc27)
  • terminal: pass a list of strings to termopen to prevent splitting. Fixes #59 (458a84b)

Performance Improvements

  • notifier: only force redraw for new windows and for updated while search is not active. Fixes #52 (da86b1d)
  • win: don't try highlighting snacks internal filetypes (eb8ab37)
  • win: prevent treesitter and syntax attaching to scratch buffers (cc80f6d)

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)

1.0.0 (2024-11-06)

Features

  • added debug (6cb43f6)
  • added git (f0a9991)
  • added gitbrowse (a638d8b)
  • added lazygit (fc32619)
  • added notifier (44011dd)
  • added notify (f4e0130)
  • added toggle (28c3029)
  • better buffer/window vars for terminal and float (1abce78)
  • bigfile (8d62b28)
  • bigfile: show message when bigfile was detected (fdc0d3d)
  • bufdelete (cc5353f)
  • config & setup (c98c4c0)
  • config: get config for snack with defaults and custom opts (b3d08be)
  • debug: added simple profile function (e1f736d)
  • docs: better handling of overloads (038b283)
  • ensure Snacks global is available when not using setup (f0458ba)
  • float (d106107)
  • float: added support for splits (977a3d3)
  • float: better key mappings (a171a81)
  • initial commit (63a24f6)
  • notifier: add 1 cell left/right padding and make wrapping work properly (efc9699)
  • notifier: added global keep config option (f32d82d)
  • notifier: added minimal style (b29a6d5)
  • notifier: allow closing notifs with q (97acbbb)
  • notifier: allow config of default filetype (8a96888)
  • notifier: enable wrapping by default (d02aa2f)
  • notifier: keep notif open when it's the current window (1e95800)
  • quickfile (d0ce645)
  • rename (fa33688)
  • statuscolumn (99b1700)
  • terminal (e6cc7c9)
  • terminal: allow to override the default terminal implementation (like toggleterm) (11c9ee8)
  • terminal: better defaults and winbar (7ceeb47)
  • terminal: better double esc to go to normal mode (a4af729)
  • win: better api to deal with sizes (ac1a50c)
  • win: custom views (12d6f86)
  • words (73445af)

Bug Fixes

  • config: don't change defaults in merge (6e825f5)
  • config: merging of possible nil values (f5bbb44)
  • debug: exclude vimrc from callers (8845a6a)
  • float: don't use backdrop for splits (5eb64c5)
  • float: only set default filetype if no ft is set (66b2525)
  • float: proper closing of backdrop (a528e77)
  • notifier: modifiable (fd57c24)
  • notifier: modifiable = false (9ef9e69)
  • notifier: show notifier errors with nvim_err_writeln (e8061bc)
  • notifier: sorting (d9a1f23)
  • simplify setup (787b53e)
  • win: backdrop (71dd912)
  • win: better implementation of window styles (previously views) (6681097)
  • win: dont error when augroup is already deleted (8c43597)
  • win: dont update win opt noautocmd (a06e3ed)
  • win: no need to set EndOfBuffer winhl (7a7f221)
  • win: use syntax as fallback for treesitter (f3b69a6)

Performance Improvements

  • win: set options with eventignore and handle ft manually (80d9a89)