v0.7.0
版本发布时间: 2023-02-12 16:56:05
echasnovski/mini.nvim最新发布版本:v0.14.0(2024-09-26 21:56:43)
- Start dual distribution. Every module is now distributed both as part of 'mini.nvim' library and as standalone plugin (in separate git repository).
mini.ai
- BREAKING FEATURE: In
MiniAi.gen_spec.argument()
optionseparators
(plural; array of characters) is soft deprecated in favor ofseparator
(singular; Lua pattern) option.
mini.animate
Introduction of new module.
mini.basics
Introduction of a new module.
mini.completion
- BREAKING:
MiniCompletion.config.window_dimensions
is renamed toMiniCompletion.config.window
to be able to handle more general configuration. - FEATURE: Add
MiniCompletion.config.window.info.border
andMiniCompletion.config.window.signature.border
which can be used to define border of info and signature floating windows respectively.
mini.indentscope
- BREAKING:
MiniIndentscopePrefix
is now not used (deprecated). It was initially introduced as a way to properly show scope indicator on empty lines. It had a drawback of overshadowing 'listchars' symbols (see #125) and vertical guides from 'lukas-reineke/indent-blankline.nvim'. As the other implementation approach was found by @mivort (see #161),MiniIndentscopePrefix
is no longer needed and no overshadowing is done. - BREAKING:
MiniIndentscope.gen_animation
is now a table (for consistency with othergen_*
functions in 'mini.nvim'). See "Migrate from function type" section of:h MiniIndentscope.gen_animation
. Calling it as function will be available until next release.
mini.misc
- FEATURE: Add
MiniMisc.setup_auto_root()
andMiniMisc.find_root()
for root finding functionality. NOTE: requires Neovim>=0.8. - FEATURE: Add
MiniMisc.setup_restore_cursor()
for automatically restoring latest cursor position on file reopen. By @cryptomilk, PR #198.
mini.move
Introduction of new module.