- BREAKING FEATURE: add
max_output_steps
option togen_path.line()
andgen_path.angle()
to limit the number of steps the return. Default is 1000 to improve performance on large cursor jumps which also is set forconfig.cursor.path
.
- BREAKING FEATURE: make
MiniHipatterns{Fixme,Hack,Todo,Note}
highlight groups by default be reverse and bold variant ofDiagnostic{Error,Warn,Info,Hint}
group instead of directly link to them. This ensures better visibility for color schemes which don't have explicit 'mini.hipatterns' support.
- FEATURE: add
'lowmedium'
and'mediumhigh'
saturation levels.
- FEATURE: update
grep
andgrep_live
pickers to allowglobs
local option which restricts search to files that match any of its glob patterns (for example,{ '*.lua', 'lua/**' }
will only search in Lua files and files in 'lua' directory). Thegrep_live
picker also has custom<C-o>
mapping to add globs interactively after picker is opened.
- BREAKING: created mappings for
find
,find_left
, andhighlight
are now not dot-repeatable. Dot-repeat should repeat last text change but neither of those actions change text. Having them dot-repeatable breaks the common "move cursor -> press dot" workflow. Initially making them dot-repeatable was a "you can but you should not" type of mistake.
- FEATURE: add
n_retry
test set property. When set, each case will be tried that at most that many times until first success (if any). - FEATURE: add
hooks.pre_source
andhooks.post_source
fields to collected cases. They can be either'once'
or'case'
and allow a more granular control over case execution. - FEATURE:
finally()
now can be called several times inside a single function with callbacks executed in order of how they were registered. - BREAKING FEATURE: now calling
skip()
in set'spre_case
hook results in skipping all test cases in a set. Calling in other hooks has no effect. This enables a more structured skipping of all test cases inside a set. To skip inside hooks, useadd_note()
followed byreturn
. - FEATURE: update
expect.reference_screenshot()
to allowdirectory
option pointing to a directory where automatically constructed reference path is located.
- Stop official support of Neovim 0.7.
- Update help files to use code blocks with language annotation, as it results in a better code highlighting. Implies enabled tree-sitter highlighting in 'help' filetype:
- It is default in Neovim>=0.10.
- Tree-sitter parser is built-in in Neovim 0.9.x, needs manual enabling via
vim.treesitter.start()
. - Has visual regressions on Neovim 0.8.0 and 0.8.1 without enabled tree-sitter (code blocks are highlighted as normal text). Use 0.8.2 or newer.
- Universally prefer 'mini.icons' module over 'nvim-tree/nvim-web-devicons'.
- Start automated testing on Windows and MacOS.
- Universally ensure that all plugin's highlight groups are defined after any color scheme takes effect.
- FEATURE: add 'kevinhwang91/nvim-bqf' plugin integration.
- FEATURE: add highlighting of LSP kind (like "Function", "Keyword", etc.). Works only on Neovim>=0.11. Requires enabled 'mini.icons' to work out of the box.
- BREAKING FEATURE: update
afterlines_to_code()
to result into Lua code block in help file by using>lua
at the start instead of>
. NOTE: users need enabledhelp
tree-sitter parser (which is default on Neovim>=0.9) for code blocks to have proper highlighting.
- FEATURE: update
oldfiles
picker to havecurrent_dir
option which iftrue
shows files only from picker's working directory. By @abeldekat, PR #997. - FEATURE: make
git_hunks
,list
, andlsp
pickers show icons. Scopesdocument_symbol
andworkspace_symbol
inlsp
picker show icon based on LSP kind (requires set up 'mini.icons'), others - based on path data. - FEATURE: update
buf_lines
andoldfiles
pickers to havepreserve_order
local option, similar tovisit_paths
picker. Other possible candidates for this option are intentionally not updated to not increase maintenance (manually overridematch
source method to callMiniPick.default_match()
with{ preserve_order = true }
options). - FEATURE: update
buf_lines
picker to pad line numbers to achieve more aligned look. - BREAKING FEATURE: use "│" as line/position separator instead of ":". This aligns with changes in 'mini.pick' and makes line/position more easily visible.
- FEATURE: update
show_at_cursor()
to include commit's statistics when showing commit. - FEATURE: update
show_at_cursor()
to show relevant at cursor commit data inside 'mini.deps' confirmation buffer.
- BREAKING FEATURE: update
compute_hex_color_group()
to compute based on combination ofhex_color
andstyle
, opposed to justhex_color
. This allows simultaneous usage of several styles in user's custom highlighters.
- FEATURE: implement
apply_palette()
(to complimentmake_palette()
) providing a way to tweak applied palette before applying it. - FEATURE: add 'kevinhwang91/nvim-bqf' plugin integration.
- FEATURE: prefer using 'mini.icons' as icon provider.
- FEATURE: implement bookmarks. With default config:
- Type
m
followed by a single character<char>
to set directory path of focused window as a bookmark with id<char>
. - Type
'
followed by a bookmark id to make bookmark's path focused in explorer. - Use
MiniFiles.set_bookmark()
insideMiniFilesExplorerOpen
event to set custom bookmarks.
- Type
- FEATURE: make data for
MiniFilesActionDelete
containto
field in case of not permanent delete. - FEATURE: make file manipulation work better for special complex/overlapping cases (like delete 'file-a' and copy 'file-b' as 'file-a'). It is still a better idea to split overlapping manipulations into smaller and not related steps, as there are cases which won't work.
- FEATURE: add
get_explorer_state()
to allow more reliable user customizations. - FEATURE: add
set_branch()
to allow to set what paths should be displayed and focused. - BREAKING: soft deprecate
get_target_window()
in favor ofget_explorer_state().target_window
. Will be completely removed after the next release. - BREAKING: update how confirmation lines are computed:
- Show create actions in the group directory where text manipulation took place. This matters during creating nested entries and is usually a more intuitive representation.
- For delete show its type after the file name ("permanently" or "to trash") as an additional visual indication of delete type.
- For create, copy and move prefer showing its "to" path relative to group directory.
- Separate action name and paths with "│" (instead of ":") for better visual separation.
- Don't enclose paths in quotes. Initially it was done to reliably show possible whitespace in paths, but inferring it from overall line structure should be good enough.
- Introduction of a new module.
- FEATURE: implement
setup_termbg_sync()
to set up terminal background synchronization (removes possible "frame" around current Neovim instance). Works only on Neovim>=0.10.
- FEATURE: prefer using 'mini.icons' as icon provider.
- BREAKING: update
default_match()
to have tableopts
as fourth argument (instead of booleando_sync
). Use{ sync = true }
to run synchronously. The new design is more aligned with other functions and is more forward compatible. - FEATURE: add
preserve_order
option todefault_match()
to allow asynchronous matching which preserves order (i.e. doesn't do sort step of fuzzy matching). - BREAKING: encoding line or position in string items has changed:
- Use "\0" (null character; use "\000" form if it is in a string before digit) instead of ":" as delimiter. This makes it work with files similar to ":" position encoding (like "time_12:34:56"). This only matters for custom sources which provide line or position in string items.
- Update
default_show()
to display "│" character instead of "\0" in item's string representation (previously was ":"). In particular, this changes how line/position is displayed ingrep
andgrep_live
built-in pickers. This change was done because "│" is more visible as separator.
- FEATURE: explicitly hide cursor when picker is active (instead of putting it in command line).
- BREAKING: change filetype of Starter buffer from 'starter' to 'ministarter'. This is a more robust value and more aligned with other modules.
- BREAKING FEATURE: update
section_fileinfo()
to show non-empty filetype even in not normal buffers (like plugin's scratch buffers, help, quickfix, etc.). Previously it showed nothing, which was a mistake as filetype can be a valuable information. - BREAKING FEATURE: the default
set_vim_settings
config value now does not affectlaststatus = 3
(aka global statusline). - FEATURE: prefer using 'mini.icons' as icon provider for
section_fileinfo()
.
- BREAKING FEATURE: adding surrounding in linewise mode now also ignores trailing whitespace on the last line (same as it ignores indent on the first line).
- FEATURE: prefer using 'mini.icons' as icon provider.
- FEATURE: make it work on Windows. By @cameronr, PR #1101.
-
BREAKING FEATURE: blank lines are now completely ignored when deciding the toggling action. In practice this means that if target block consists only from commented and/or blank lines, it will be uncommented rather than commented.
-
BREAKING: Whitespace in comment parts is now treated more explicitly. In particular:
-
Default
options.pad_comment_parts = true
now more explicitly means that any value of 'commentstring' is transformed so that comment parts have exactly single space inner padding.Example: any
/*%s*/
,/* %s */
, or/* %s */
is equivalent to having/* %s */
. -
Detection of whether consecutive lines are commented or not does not depend on whitespace in comment parts. Uncommenting is first attempted with exact comment parts and falls back on trying its trimmed parts.
Example of toggling comment on single line with
/* %s */
'commentstring' value:/* this is commented */
->this is commented
./*this is also commented */
->this is also commented
(notice trailing space).
-
Commenting blank lines is done with trimmed comments parts, while uncommenting explicitly results into empty lines.
-
-
FEATURE: Support dot-repeat after initial commenting is done for visual selection; repeating is done for same relative range.
- FEATURE: add
MiniDepsMsgBreaking
highlight group for messages indicating a breaking change in a conventional commit style.
- Introduction of a new module.
- FEATURE: add new
MiniFilesExplorerOpen
andMiniFilesExplorerClose
events.
- Introduction of a new module.
- BREAKING FEATURE: update some highlight groups for better usability:
DiffChange
andDiffText
- make changed diff lines have colored background.Folded
- make folds differ fromCursorLine
.QuickFixLine
- make current quickfix item differ fromCursorLine
.
- FEATURE: add
gen_integration.diff()
which highlights general diff hunks from 'mini.diff'.
- BREAKING: stop trying to parse path for special format ("path:row" and "path:row:col") if supplied inside a table item. This made impossible working with paths containing ":".
- FEATURE: respect general URI format for paths inside table items.
- Update
builtin.files()
to use table items when string item might be ambiguous.
- Explicitly block all events in
open()
during startup for a better performance.
- BREAKING:
section_diagnostics()
now depends only on defined diagnostic. This means:- Something is shown only if there is any diagnostic actually present in the buffer. No diagnostic entries - nothing is shown. Previously it did not show if there was no LSP servers attached (as initially diagnostics came only from LSP) or buffer was not normal.
- Fallback icon is "Diag" instead of "LSP".
- FEATURE:
section_diagnostics()
now supportssigns
table option to customize signs for severity levels. - BREAKING FEATURE:
section_git()
now prefers using data from 'mini.git' with fallback on pure HEAD data from 'lewis6991/gistigns.nvim'. - FEATURE: add
section_diff()
to show data from 'mini.diff' with fallback on diff data from 'lewis6991/gistigns.nvim'. - FEATURE: add
section_lsp()
to show indicator of LSP servers attached to the buffer. - BREAKING FEATURE: update default active content:
- Add
section_diff()
(shows diff data near icon) following refactor ofsection_git()
. - Add
section_lsp()
(shows number of attached LSP servers near icon) following refactor ofsection_diagnostics()
.
- Add
- FEATURE: Implement
config.format
for custom label formatting.
- BREAKING FEATURE: child process is now created with extra
--headless --cmd "set lines=24 columns=80"
arguments making it headless but still reasonably similar to fully functioning Neovim during interactive usage. This change should generally not break a lot of things, while enabling a faster and more robust test execution.
- 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).
- FEATURE: Hooks are now called with data about commenting action.
Introduction of a new module.
- 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.
- FEATURE: Update
go_in()
to haveclose_on_file
option. - Show warning if action is set to override existing path.
- 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).
- Update
bench_time()
to usevim.loop.hrtime()
(as better designed for benchmarking) instead ofvim.loop.gettimeofday()
.
Introduction of a new module.
- FEATURE: Implement
window.prompt_cursor
andwindow.prompt_prefix
config options. - FEATURE: Update
builtin.help()
to use tree-sitter highlighting (if there is any).
- FEATURE: Update
read()
to firstwrite()
current session (if there is any).
- FEATURE: Add
sections.pick()
with 'mini.pick' pickers.
- BREAKING FEATURE: Add
search_count
section to default active content.
Introduction of a new module.
- BREAKING: Stop supporting deprecated 'HiPhish/nvim-ts-rainbow2'.
- BREAKING FEATURE: Applying
delete()
andwipeout()
withoutforce
in a modified buffer now asks for confirmation instead of declining and showing message.
- FEATURE:
config.window.config
now can be callable returning window config.
- FEATURE: Implement
config.mappings.comment_visual
to configure mapped keys in Visual mode.
- FEATURE: Start adding
C
flag toshortmess
option on Neovim>=0.9. By @yamin-shihab, PR #554.
Introduction of a new module.
- 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.
- 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.
- BREAKING: Stop supporting deprecated 'HiPhish/nvim-ts-rainbow2'.
- FEATURE: Implement
config.window.zindex
to configure z-index of map window.
- FEATURE:
setup_auto_root()
andfind_root()
now havefallback
argument to be applied when no root is found withvim.fn.find()
.
Introduction of a new module.
- FEATURE:
show_path
insections.recent_files()
can now be callable for more control on how full path is displayed.
- 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.
- FEATURE: Allow
vis_mode
field in custom texobject region to force Visual mode with which textobject is selected.
- FEATURE: Add
MiniAnimateNormalFloat
highlight group to tweak highlighting ofopen
andclose
animations.
- FEATURE: Add 'HiPhish/rainbow-delimiters.nvim' integration.
- BREAKING: Remove
<C-w>
mapping in Terminal mode, as it is more useful inside terminal emulator itself.
- FEATURE: Add
add_to_jumplist
option to relevant targets (which move cursor and don't already add to jumplist).
- BREAKING: Create normal buffer instead of scratch when there is no reasonable target to focus (#394).
Introduction of a new module.
Introduction of a new module.
- FEATURE: Add 'HiPhish/rainbow-delimiters.nvim' integration.
- FEATURE: Add
gen_union_spotter()
to allow combining separate spotters into one.
Introduction of a new module.
- FEATURE: Allow
false
inconfig.mappings
to not map the key.
- FEATURE: Update
add
(sa
) with ability to replicate left and right parts by respecting[count]
. In Normal mode two kinds of[count]
is respected: one for operator (replicates left and right parts) and one for textobject/motion. In Visual mode[count]
replicates parts.
- Stop official support of Neovim 0.6.
- Use Lua API to create autocommands. Stop exporting functions only related to autocommands.
- Use Lua API to create default highlight groups.
- Use
vim.keymap
to deal with mappings. Stop exporting functions only related to mappings. - Add 'randomhue' color scheme.
- FEATURE: Add new integrations:
- Lsp semantic tokens.
- 'folke/lazy.nvim'.
- 'folke/noice.nvim'.
- 'kevinhwang91/nvim-ufo'.
- BREAKING FEATURE: Stop supporting archived 'p00f/nvim-ts-rainbow' in favor of 'HiPhish/nvim-ts-rainbow2'.
- Add dot-repeat support for adding empty lines (
go
andgO
mappings).
Introduction of a new module.
- FEATURE: Use tree-sitter information about locally active language to infer 'commentstring' option value.
- FEATURE: Add
options.custom_commentstring
option for a more granular customization of comment structure. - FEATURE: Add
get_commentstring()
function representing built-in logic of computing relevant 'commentstring'.
Introduction of a new module.
Introduction of a new module.
- Add and implement design principle for silencing module by setting
config.silent = true
. It is now present in modules capable of showing non-error feedback:- mini.ai
- mini.align
- mini.basics
- mini.bufremove
- mini.doc
- mini.jump
- mini.jump2d
- mini.starter
- mini.surround
- mini.test
Introduction of a new module.
- FEATURE: Add
options.start_of_line
option which controls whether to recognize as comment only lines without indent. - FEATURE: Add
options.ignore_blank_line
option which controls whether to ignore blank lines. - FEATURE: Add
options.pad_comment_parts
option which controls whether to ensure single space pad for comment leaders.
- FEATURE: Add
config.hooks.write_pre
hook to be executed before writing to a file.
- FEATURE: Add
MiniIndentscopeSymbolOff
highlight group to be used if scope's indent is not multiple of 'shiftwidth'. - FEATURE: Add
draw.priority
option to control priority of scope line draw.
- FEATURE: Add
view.n_steps_ahead
option which controls how many steps ahead to show. Appearance is controlled by newMiniJump2dSpotAhead
highlight group. - FEATURE: Add
view.dim
option which controls whether to dim lines with at least one jump spot. Appearance is controlled by newMiniJump2dDim
highlight group. - FEATURE: Add
MiniJump2dSpotUnique
highlight group to be used for spots with unique label for next step.
- FEATURE: Both
MiniPairs.br()
andMiniPairs.cr()
can now take a key which will be used instead of default<BS>
and<CR>
.
- FEATURE:
setup()
now creates global directory at pathconfig.directory
if it doesn't exist. - All actions now keep list of detected sessions up to date.
Introduction of a new module.
- FEATURE: Add
respect_selection_type
option which, when enabled, makes adding and deleting surrounding respect selection type:- Linewise adding places surrounding parts on separate lines while indenting surrounded lines once.
- Deleting surrounding which looks like a result of linewise adding will act to revert it: delete lines with surrounding parts and dedent surrounded lines once.
- Blockwise adding places surrounding parts on whole edges, not only start and end of selection.
- Start dual distribution. Every module is now distributed both as part of 'mini.nvim' library and as standalone plugin (in separate git repository).
- BREAKING FEATURE: In
MiniAi.gen_spec.argument()
optionseparators
(plural; array of characters) is soft deprecated in favor ofseparator
(singular; Lua pattern) option.
Introduction of new module.
Introduction of a new module.
- 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.
- 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.
- 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.
Introduction of new module.
- Stop official support of Neovim 0.5.
- Make all messages use colors and not cause hit-enter-prompt.
Introduction of new module.
- FEATURE: Add support for many plugin integrations.
- FEATURE: Implement
MiniBase16.config.plugins
for configuring plugin integrations. - BREAKING: Change some 'mini.nvim' highlights:
MiniCompletionActiveParameter
now highlights with background instead of underline.MiniJump2dSpot
now explicitly defined to use plugin's palette.MiniStarterItemPrefix
andMiniStarterQuery
are now bold for better visibility.
- BREAKING: Update highlight for changed git diff to be more visible and to comply more with general guidelines.
- BREAKING: Allow cursor to be positioned past the end of previous/current line (#113).
Introduction of new module.
- Item evaluation is now prepended with query reset, as it is rarely needed any more (#105).
- All hooks are now called with
(content, buf_id)
signature allowing them properly use current window layout.
- BREAKING FEATURE: update 'mini.surround' to share as much with 'mini.ai' as possible. This provides more integrated experience while enabling more useful features. Details:
- Custom surrounding specification for input action has changed. Instead of
{ find = <string>, extract = <string> }
it is now{ <function or composed pattern> }
. Previous format will work until the next release. See more in help file. - Algorithm for finding surrounding is now more powerful. It allows searching for more complex surroundings (via composed patterns or array of region pairs) and respects
v:count
. - Multiline input and output surroundings are now supported.
- Opening brackets (
(
,[
,{
,<
) now include whitespace in surrounding: input surrounding selects all inner edge whitespace, output surrounding is padded with single space. - Surrounding identifier
i
("interactive") is soft deprecated in favor of?
("user prompt"). - New surrounding aliases:
b
for "brackets". Input - any of balanced()
,[]
{}
. Output -()
.q
for "quotes". Input - any of"
,'
,`
. Output -""
.
- Three new search methods
'prev'
,'next'
, and'nearest'
for finding non-covering previous and next surrounding.
- Custom surrounding specification for input action has changed. Instead of
- BREAKING FEATURE: Implement "last"/"next" extended mappings which force
'prev'
or'next'
search method. Controlled withconfig.mappings.suffix_last
andconfig.mappings.suffix_next
respectively. This also means that custom surroundings with identifier equal to "last"/"next" mappings suffixes (defaults to 'l' and 'n') will work only with long enough delay after typing action mapping. - FEATURE: Implement
MiniSurround.gen_spec
with generators of common surrounding specifications (likeMiniSurround.gen_spec.input.treesitter
for tree-sitter based input surrounding).
- Update all tests to use new 'mini.test' module.
- FEATURE: Implement buffer local configuration. This is done with
vim.b.mini*_config
buffer variables. - Add new
minicyan
color scheme.
Introduction of new module.
- FEATURE: Now hooks can be used to terminate further actions by returning
false
(#108).
- BREAKING: Soft deprecate
vim.b.miniindentscope_options
in favor of usingoptions
field ofminiindentscope_config
.
- FEATURE: Hooks are now called with active session data as argument.
- FEATURE: Now it is possible to open multiple Starter buffers at the same time (#82). This comes with several changes which won't affect most users:
- BREAKING:
MiniStarter.content
is deprecated. UseMiniStarter.get_content()
. - All functions dealing with Starter buffer now have
buf_id
as argument (no breaking behavior).
- BREAKING:
- FEATURE: Implement
config.use_icons
which controls whether to use icons by default.
Introduction of new module.
- FEATURE: Implement
MiniTrailspace.trim_last_lines()
.
- Update all modules to supply mapping description for Neovim>=0.7.
- Add new module 'mini.jump2d'.
- Cover all modules with extensive tests.
- FEATURE: Implement
config.hooks
withpre
andpost
hooks (executed before and after successful commenting). Fixes #50, #59.
- Implement support for
additionalTextEdits
(issue #61).
- FEATURE: Implement idle timeout to stop jumping automatically (@annenpolka, #56).
- FEATURE: Implement
MiniJump.state
: table with useful model-related information. - BREAKING: Soft deprecate
config.highlight_delay
in favor ofconfig.delay.highlight
. - Update process of querying target symbol: show help message after delay, allow
<C-c>
to stop selecting target.
Introduction of new module.
- Create mappings for
<BS>
and<CR>
in certain mode only after some pair is registered in that mode.
- FEATURE: Implement
MiniSessions.select()
to select session interactively and perform action on it. - FEATURE: Implement
config.hooks
to execute hook functions before and after successful action. - BREAKING: All feedback about incorrect behavior is now an error instead of message notifications.
- Allow
config.header
andconfig.footer
be any value, which will be converted to string viatostring()
. - Update query logic to not allow queries which result into no items.
- Add
<C-n>
and<C-p>
to default mappings.
- BREAKING: change default icon for
MiniStatusline.section_diagnostics()
from ﯭ to due to former having issues in some terminal emulators.
- FEATURE: Implement
config.search_method
. - FEATURE: Implement custom surroundings via
config.custom_surroundings
. - FEATURE: Implement
MiniSurround.user_input()
. - BREAKING: Deprecate
config.funname_pattern
option in favor of manually modifyingf
surrounding. - BREAKING: Always move cursor to the right of left surrounding in
add()
,delete()
, andreplace()
(instead of moving only if it was on the same line as left surrounding). - Update process of getting user input: allow
<C-c>
to cancel and make empty string a valid input.
- FEATURE: Implement
config.tabpage_section
. - BREAKING: Show listed buffers also in case of multiple tabpages (instead of using builtin behavior).
- Show quickfix/loclist buffers with special
*quickfix*
label.
- Update all modules to have annotations formatted for 'mini.doc'.
- Current word under cursor now can be highlighted differently.
Introduction of new module.
Introduction of new module.
- Implement
MiniStarter.set_query()
and make<Esc>
mapping for resetting query.
- Use new
Diagnostic*
highlight groups in Neovim 0.6.0.
- Respect tab indentation (#20).
Introduction of new module.
- Implement pair registration with custom mapping functions. More detailed:
- Implement
MiniPairs.map()
,MiniPairs.map_buf()
,MiniPairs.unmap()
,MiniPairs.unmap_buf()
to (un)make mappings for pairs which automatically register them for<BS>
and<CR>
. Note, that this has a minor break of previous behavior: nowMiniPairs.bs()
andMiniPairs.cr()
don't have any input argument. But default behavior didn't change. - Allow setting global pair mappings inside
config
ofMiniPairs.setup()
.
- Implement
Introduction of new module.
Introduction of new module.
- Implement new section
MiniStatusline.section_searchcount()
. - Update
section_diagnostics
to usevim.diagnostic
in Neovim 0.6.0.
- Initial stable version.