Release 0.8.0
Originally posted on Reddit
Hello, Neovim users!
I am here to tell you about version 0.8.0 release of mini.nvim. It is mostly about two new modules and cleaning up issue backlog (both issues and feature requests).
Here is a full release description if you are curious, while I’ll mention the most prominent ones here.
Two new modules came out of beta-testing:
- mini.bracketed - Go forward/backward with square brackets. It is virtually a ‘tpope/vim-unimpaired’ Lua evolution with much more capabilities. This one feels to me like having the cleanest API design of all ‘mini.nvim’ modules up to date.
- mini.splitjoin - Split and join arguments.
There is a new design principle of silencing module’s non-error feedback. All modules which can do that (like ‘mini.ai’, ‘mini.jump2d’, ‘mini.surround’) now have config.silent
option.
‘mini.comment’ got quite substantial update allowing more customization. Users can now control whether to:
- Recognize as comment only lines without indent.
- Ignore blank lines.
- Ensure single space pad for comment leaders.
‘mini.jump2d’ got also some customization options. User now can control:
- How many label steps ahead to show.
- Whether to dim lines with at least one jump spot.
- Highlighting of spots with unique label for next step.
It is now visually on par with phaazon/hop.nvim while also having several differences (most are matter of taste, but to me seem more natural). Demo is also updated showing these new capabilities.
‘mini.surround’ now can be configured to respect selection type when adding and deleting surroundings. For example, adding surroundings to linewise visual selection places them on separate lines while indenting selection once.
If you were waiting for new modules to come out of beta-testing or just curious to try new features, this is the time to do it!
Thanks for reading!