Release 0.18.0
Hello, Neovim users!
Today is the release day of ‘mini.nvim’ version 0.18.0. Almost half a year and 188 commits after the previous release. Arguably, the wait is a bit too much: I prefer to have around three months between releases, but with at least one new module (this was the bottleneck in this release).
Here is a full version changelog if you are curious.
There is one new module:
‘mini.input’ - Get user input with fully customizable key and view handling. Can show as floating window, statusline/tabline/winbar, virtual line/text. Provides a
vim.ui.input()implementation. You can read more in its release post.This was a module number 45. Its tests also pushed total ‘mini.nvim’ test case count to be over 5000!
Notable changes include:
Update all relevant modules to prefer using ‘mini.input’ functionality (if module is enabled). Like when asking for function/tag name in ‘mini.ai’ + ‘mini.surround’ or interactive glob filtering in
grep_live‘mini.pick’ picker.Neovim 0.9 is soft deprecated. Its support will be soon fully removed on the
mainbranch.Development of ‘mini.deps’ is frozen in favor of suggesting to use vim.pack. See ‘mini.deps’ README for more details.
‘mini.files’ now has LSP integration, i.e. this makes some file system actions (create, delete, rename) LSP aware.
‘mini.misc’ got a new
safely()function to act as a replacement forMiniDeps.now()andMiniDeps.later().‘mini.sessions’ got a new
restart()function that enhances:restartcommand added in Neovim 0.12. It allows restarting while preserving current session. This is meant as a temporary solution until upstream adjusts the behavior, which will hopefully be relatively soon.‘mini.pick’ had several notable improvements:
It now supports upstream
vim.ui.select()preview interface. This means that plugins that want to provide custom picker with preview now can usevim.ui.select()+opts.preview_itemand preview will work with ‘mini.pick’ implementation ofvim.ui.select().Non-streaming paste from the system clipboard (i.e. what is usually a
Cmd+Shift+C) is now supported when a picker is active.Update
grepandgrep_livepickers to allow newmethodlocal option to control pattern matching method (regexorplain).
Thank you all for using and supporting the MINI project! There is an ambitious plan for its evolution, but let’s hope it is not too ambitious :)