Version 0.12.0
mini.basics
- BREAKING: Remove
<C-z>
mapping, as it is more useful in most terminal emulators for suspending Neovim process (to later resume withfg
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 whenoptions.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 ofvim.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 haveclose_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 usevim.loop.hrtime()
(as better designed for benchmarking) instead ofvim.loop.gettimeofday()
.
mini.notify
Introduction of a new module.
mini.pick
- FEATURE: Implement
window.prompt_cursor
andwindow.prompt_prefix
config options. - FEATURE: Update
builtin.help()
to use tree-sitter highlighting (if there is any).
mini.sessions
- FEATURE: Update
read()
to firstwrite()
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.