v0.4.0
版本发布时间: 2022-05-26 20:51:17
echasnovski/mini.nvim最新发布版本:v0.14.0(2024-09-26 21:56:43)
- Update all modules to supply mapping description for Neovim>=0.7.
- Add new module 'mini.jump2d'.
- Cover all modules with extensive tests.
mini.comment
- FEATURE: Implement
config.hooks
withpre
andpost
hooks (executed before and after successful commenting). Fixes #50, #59.
mini.completion
- Implement support for
additionalTextEdits
(issue #61).
mini.jump
- FEATURE: Implement idle timeout to stop jumping automatically (@annenpolka, #56).
- FEATURE: Implement
MiniJump.state
: table with useful model-related information. - BREAKING: Soft deprecate
config.highlight_delay
in favor ofconfig.delay.highlight
. - Update process of querying target symbol: show help message after delay, allow
<C-c>
to stop selecting target.
mini.jump2d
Introduction of new module.
mini.pairs
- Create mappings for
<BS>
and<CR>
in certain mode only after some pair is registered in that mode.
mini.sessions
- FEATURE: Implement
MiniSessions.select()
to select session interactively and perform action on it. - FEATURE: Implement
config.hooks
to execute hook functions before and after successful action. - BREAKING: All feedback about incorrect behavior is now an error instead of message notifications.
mini.starter
- Allow
config.header
andconfig.footer
be any value, which will be converted to string viatostring()
. - Update query logic to not allow queries which result into no items.
- Add
<C-n>
and<C-p>
to default mappings.
mini.statusline
- BREAKING: change default icon for
MiniStatusline.section_diagnostics()
from ﯭ to due to former having issues in some terminal emulators.
mini.surround
- FEATURE: Implement
config.search_method
. - FEATURE: Implement custom surroundings via
config.custom_surroundings
. - FEATURE: Implement
MiniSurround.user_input()
. - BREAKING: Deprecate
config.funname_pattern
option in favor of manually modifyingf
surrounding. - BREAKING: Always move cursor to the right of left surrounding in
add()
,delete()
, andreplace()
(instead of moving only if it was on the same line as left surrounding). - Update process of getting user input: allow
<C-c>
to cancel and make empty string a valid input.
mini.tabline
- FEATURE: Implement
config.tabpage_section
. - BREAKING: Show listed buffers also in case of multiple tabpages (instead of using builtin behavior).
- Show quickfix/loclist buffers with special
*quickfix*
label.