Release 0.7.0
release
reddit
Three new modules, some breaking changes, many new features
Originally posted on Reddit
Hello, Neovim users!
I am glad to finally announce that mini.nvim had a release of version 0.7.0.
If you are following main branch (on ‘mini.nvim’ itself or any of its standalone repositories) or Reddit posts, there is not much news for you (apart from new modules are now out of beta-testing phase).
If you are following stable branch or latest tag (like with ‘folke/lazy.nvim’), there are some new modules, features, and breaking changes.
Here is a relevant part of changelog. A quick summary:
- There are three new modules (main part of release):
- mini.animate - Animate common Neovim actions.
- mini.basics - Common configuration presets.
- mini.move - Move any selection in any direction.
- There are four breaking changes (most previous behavior still works but will be removed soon in
mainbranch):- In ‘mini.ai’ the
separatorsoption for argument specification is deprecated in favor ofseparator. See here about migration. - In ‘mini.completion’ the
window_dimensionsoption is renamed towindowto handle more general configuration. - In ‘mini.indentscope’ the
gen_animationis now a table with methods instead of a function. See here about migration. - In ‘mini.indentscope’ the
MiniIndentscopePrefixhighlighting group is deprecated as it is no longer needed.
- In ‘mini.ai’ the
- There are five new features:
- ‘mini.misc’ got
setup_auto_root()andfind_root()functions for root finding functionality (a.k.a “simplified vim-rooter”). - ‘mini.misc’ got
setup_restore_cursor()function to automatically restore latest cursor position on file reopen. Thanks @cryptomilk for most part of the work! - ‘mini.completion’ can now customize borders of info and signature windows.
- ‘mini.indentscope’ now doesn’t obscure region to the left of vertical line. Specifically, it means that it works with ‘lukas-reineke/indent-blankline.nvim’.
- ‘mini.ai’ can now define separator for argument textobject via Lua pattern instead of an array of single characters.
- ‘mini.misc’ got
- Support for Neovim 0.6 is now soft deprecated. All versions prior Neovim 0.7.0 will stop working some time after Neovim 0.9.0 release.
If you were waiting for new modules to come out of beta-testing, this is the time to try them out!
Thanks for reading!