v0.11.0
版本发布时间: 2023-11-17 23:19:11
echasnovski/mini.nvim最新发布版本:v0.14.0(2024-09-26 21:56:43)
mini.base16
- BREAKING: Stop supporting deprecated 'HiPhish/nvim-ts-rainbow2'.
mini.bufremove
- BREAKING FEATURE: Applying
delete()
andwipeout()
withoutforce
in a modified buffer now asks for confirmation instead of declining and showing message.
mini.clue
- FEATURE:
config.window.config
now can be callable returning window config.
mini.comment
- FEATURE: Implement
config.mappings.comment_visual
to configure mapped keys in Visual mode.
mini.completion
- FEATURE: Start adding
C
flag toshortmess
option on Neovim>=0.9. By @yamin-shihab, PR #554.
mini.extra
Introduction of a new module.
mini.files
- BREAKING: Opening file which is present in unlisted buffer now makes the buffer listed.
- BREAKING: Highlight in preview now is not enabled if file is sufficiently large.
- FEATURE: Explorer now tracks if focus is lost and properly closes on detection.
- FEATURE: Implement
MiniFilesCursorLine
highlight group.
mini.hipatterns
- FEATURE: Allow
pattern
in highlighter definitions to be an array to highlight several patterns under the same highlighter name. - FEATURE: Implement
extmark_opts
in highlighter definitions for a more control over extmarks placed at matches. - BREAKING: Field
priority
in highlighter definitions is soft deprecated in favor ofextmark_opts = { priority = <value> }
. - FEATURE: Update
compute_hex_color_group()
to allowstyle = 'fg'
. - FEATURE: Update
gen_highlighter.hex_color()
to allowstyle = 'inline'
(requires Neovim>=0.10 with support of inline extmarks). - FEATURE: Implement
get_matches()
to get buffer matches.
mini.hues
- BREAKING: Stop supporting deprecated 'HiPhish/nvim-ts-rainbow2'.
mini.map
- FEATURE: Implement
config.window.zindex
to configure z-index of map window.
mini.misc
- FEATURE:
setup_auto_root()
andfind_root()
now havefallback
argument to be applied when no root is found withvim.fn.find()
.
mini.pick
Introduction of a new module.
mini.starter
- FEATURE:
show_path
insections.recent_files()
can now be callable for more control on how full path is displayed.
mini.test
- BREAKING: Error in any "pre" hook now leads to test case not being executed (with note).
- BREAKING FEATURE:
child.get_screenshot()
now by default calls:redraw
prior to computing screenshot. Can be disabled by newopts.redraw
argument. - FEATURE: New method
child.lua_func()
can execute simple functions inside child process and return the result (stasjok, #437). - FEATURE:
expect.reference_screenshot()
now hasignore_lines
option allowing to ignore specified lines during screenshot compare.