Skip to content

Releases: VoxelPrismatic/rabbit.nvim

v4.1.2 - Nectar

13 Feb 14:55
Compare
Choose a tag to compare

Bug Fixes

  • Harpoon now actually selects collections when using action keys (1-9)
    • Silly internals using the default rabbit.func.select function by default

Breaking

But the implementation was within the past hour, nobody had time to implement it, so idc

  • Renamed rabbit.path_key_fallback -> rabbit.path_key
    • Been so long I forgot my own naming scheme XD

v4.1.1 - Mint

10 Feb 17:19
Compare
Choose a tag to compare

⚞NEW⚟

  • path_key flags. See the wiki for more.
    • Includes an example git function!
  • Custom path_key output is below the key legend
git: found git: not found
image image

Bug Fixes

  • The Harpoon plugin now doesn't crash when the path_key function changes outputs

v4.1.0 - Neptune

07 Feb 16:05
Compare
Choose a tag to compare

⚞NEW⚟

  • path_key option to allow you to scope your current working directory
    • Now you can scope your cwd to your git root, even if you aren't literally working there
    • #23 from @j-xella

Bug Fixes

  • The Harpoon plugin now doesn't crash if you change the current working directory
    • Harpoon will still remember where you left off between directories when changing buffers, but not between sessions
    • #22 from @j-xella

v4.0.0 - Nebula

20 Jun 04:44
Compare
Choose a tag to compare

i ran out of quirky names related to rabbits, so now i'm doing space related things

⚞NEW⚟

  • Harpoon plugin now allows collections
    • Like virtual folders
    • Still separated by directory, of course
  • Created a wiki to document everything outside of readme

Updates

  • Plugins no longer need to bind new autocmds. This is automatically handled.
    • breaking - please remove all instances of this
  • Updated compatibility details
  • Rabbit:History now pulls all the currently available buffers on windows with no history
    • Rabbit must be closed once before
    • I'll probably change this soon since it is unintuitive

Internals

  • New Input API
  • Rabbit now calls the BufEnter event on new windows
    • breaking - please remove any window listeners
  • A few more early returns
    • lua is actually the least syntactically readable language i have ever used
  • Added more context to prevent recalculating the same table

Bug Fixes

  • vim.uv is now set to vim.loop if unavailable
    • #12 is a peculiar bug. vim.loop is deprecated

v3.2.2

11 Jun 23:54
Compare
Choose a tag to compare
  • fix < v0.10.0 compatibility
    • v0.9.x does not support tabpage_set_win
    • replaced with set_current_win, as it's less redundant anyway
  • fix macOS compatibility
    • apparently macOS does not include width or height when calling config
    • thank you, @jeromepin for helping me track this down
  • fix rabbit:reopen
    • nvim v0.10.0 changed evt.file to be just the local file
    • evt.match produces the full name (for now)
  • entering insert mode in rabbit now works as expected
    • previously would bring you to line 1, column 1
    • now escapes the window before closing
  • require("Rabbit").Switch(...) now returns a rabbit instance
    • require("Rabbit").Switch(...).func.select(...) is now possible as an easy autocmd for harpoon

v3.2.1

07 Jun 19:13
Compare
Choose a tag to compare
  • fix out of bounds bug in harpoon
    • you could add the same entry multiple times at the end of the list, but deleting one would delete all
    • now you can only add each entry once, deleting the old one in the process

v3.2.0 - bunny ears

06 Jun 22:22
Compare
Choose a tag to compare

⚞NEW⚟

Updates

  • The History Rabbit will now recall the history of the last closed window
    • Only shown on new windows with no history
    • Option to restore full history if you closed the window accidentally
  • The Reopen Rabbit will now recall the list of open buffers you last closed with
    • Separated by current working directory
    • Only available if you haven't closed a buffer yet
    • Option to open all buffers to quickly resume work
  • The Oxide Rabbit is more efficient
    • Note: Previous history will be purged
    • Automatically deletes files that don't exist
    • Doesn't redraw the entire window on file_del
    • Entries don't jump around as much
  • The Rabbit window now automatically removes files that don't exist
  • Plugins can now have their own WinClosed autocmd

Bug Fixes

  • No longer crashes when you set rabbit.opts.window.width or height to nil
  • The global WinClosed autocmd now actually works
    • For how type-unsafe Lua is, I'm amazed that strings don't equal numbers

v3.1.5

06 Jun 04:03
Compare
Choose a tag to compare
  1. Add option to ignore unlisted buffers
    • Prevents showing :Oil buffers
  2. Fix no highlight crash bug
    • As found in #4, if any one of your highlight groups doesn't have a foreground color, Rabbit crashes.

v3.1.4

02 Jun 06:45
Compare
Choose a tag to compare
  • Optimize LuaDoc
    • Now it isn't all a bunch of classes in one file
  • Export ---@class Rabbit.Options so you can use the LSP to check your config, like in Lazy
  • Slight optimizations as I learn Lua

v3.1.3

30 May 18:04
Compare
Choose a tag to compare
  • compat warning is less intrusive