Skip to content

Version 0.12.0

Compare
Choose a tag to compare
@echasnovski echasnovski released this 29 Feb 15:54
· 403 commits to main since this release
f247472

mini.basics

  • BREAKING: Remove <C-z> mapping, as it is more useful in most terminal emulators for suspending Neovim process (to later resume with fg command). To correct latest misspelled word, use mappings like this:
vim.keymap.set('n', '<C-z>', '[s1z=',                     { desc = 'Correct latest misspelled word' })
vim.keymap.set('i', '<C-z>', '<C-g>u<Esc>[s1z=`]a<C-g>u', { desc = 'Correct latest misspelled word' })
  • FEATURE: Add tab:> to 'listchars' option when options.extra_ui is set. This prevents showing ^I instead of a tab and actual value comes from Neovim's default.
  • FEATURE: Set termguicolors only on Neovim<0.10, as later versions should have it on by default (if terminal emulator supports it).

mini.comment

  • FEATURE: Hooks are now called with data about commenting action.

mini.deps

Introduction of a new module.

mini.doc

  • BREAKING: Stop using :echo to display messages and warnings in favor of vim.notify().
  • BREAKING: Update default write_post hook to not display current time in success message.
  • Update to include space before ~ in generated section headings.

mini.files

  • FEATURE: Update go_in() to have close_on_file option.
  • Show warning if action is set to override existing path.

mini.hues

  • BREAKING FEATURE: Update verbatim text (@text.literal and @markup.raw) color to be distinctive instead of dimmed.
  • FEATURE: Add support for new standard tree-sitter captures on Neovim>=0.10 (see neovim/neovim#27067).

mini.misc

  • Update bench_time() to use vim.loop.hrtime() (as better designed for benchmarking) instead of vim.loop.gettimeofday().

mini.notify

Introduction of a new module.

mini.pick

  • FEATURE: Implement window.prompt_cursor and window.prompt_prefix config options.
  • FEATURE: Update builtin.help() to use tree-sitter highlighting (if there is any).

mini.sessions

  • FEATURE: Update read() to first write() current session (if there is any).

mini.starter

  • FEATURE: Add sections.pick() with 'mini.pick' pickers.

mini.statusline

  • BREAKING FEATURE: Add search_count section to default active content.

mini.visits

Introduction of a new module.