Skip to content

Version 0.11.0

Compare
Choose a tag to compare
@echasnovski echasnovski released this 17 Nov 15:19
· 513 commits to main since this release
b5645ac

mini.base16

  • BREAKING: Stop supporting deprecated 'HiPhish/nvim-ts-rainbow2'.

mini.bufremove

  • BREAKING FEATURE: Applying delete() and wipeout() without force 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 to shortmess 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 of extmark_opts = { priority = <value> }.
  • FEATURE: Update compute_hex_color_group() to allow style = 'fg'.
  • FEATURE: Update gen_highlighter.hex_color() to allow style = '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() and find_root() now have fallback argument to be applied when no root is found with vim.fn.find().

mini.pick

Introduction of a new module.

mini.starter

  • FEATURE: show_path in sections.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 new opts.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 has ignore_lines option allowing to ignore specified lines during screenshot compare.