Version 0.6.0
- Stop official support of Neovim 0.5.
- Make all messages use colors and not cause hit-enter-prompt.
mini.align
Introduction of new module.
mini.base16
- FEATURE: Add support for many plugin integrations.
- FEATURE: Implement
MiniBase16.config.pluginsfor configuring plugin integrations. - BREAKING: Change some 'mini.nvim' highlights:
MiniCompletionActiveParameternow highlights with background instead of underline.MiniJump2dSpotnow explicitly defined to use plugin's palette.MiniStarterItemPrefixandMiniStarterQueryare now bold for better visibility.
- BREAKING: Update highlight for changed git diff to be more visible and to comply more with general guidelines.
mini.jump
- BREAKING: Allow cursor to be positioned past the end of previous/current line (#113).
mini.map
Introduction of new module.
mini.starter
- Item evaluation is now prepended with query reset, as it is rarely needed any more (#105).
- All hooks are now called with
(content, buf_id)signature allowing them properly use current window layout.
mini.surround
- BREAKING FEATURE: update 'mini.surround' to share as much with 'mini.ai' as possible. This provides more integrated experience while enabling more useful features. Details:
- Custom surrounding specification for input action has changed. Instead of
{ find = <string>, extract = <string> }it is now{ <function or composed pattern> }. Previous format will work until the next release. See more in help file. - Algorithm for finding surrounding is now more powerful. It allows searching for more complex surroundings (via composed patterns or array of region pairs) and respects
v:count. - Multiline input and output surroundings are now supported.
- Opening brackets (
(,[,{,<) now include whitespace in surrounding: input surrounding selects all inner edge whitespace, output surrounding is padded with single space. - Surrounding identifier
i("interactive") is soft deprecated in favor of?("user prompt"). - New surrounding aliases:
bfor "brackets". Input - any of balanced(),[]{}. Output -().qfor "quotes". Input - any of",',`. Output -"".
- Three new search methods
'prev','next', and'nearest'for finding non-covering previous and next surrounding.
- Custom surrounding specification for input action has changed. Instead of
- BREAKING FEATURE: Implement "last"/"next" extended mappings which force
'prev'or'next'search method. Controlled withconfig.mappings.suffix_lastandconfig.mappings.suffix_nextrespectively. This also means that custom surroundings with identifier equal to "last"/"next" mappings suffixes (defaults to 'l' and 'n') will work only with long enough delay after typing action mapping. - FEATURE: Implement
MiniSurround.gen_specwith generators of common surrounding specifications (likeMiniSurround.gen_spec.input.treesitterfor tree-sitter based input surrounding).