Skip to content

Commit aa56ee3

Browse files
committed
feat(mini.nvim): sync
1 parent 9ac3f6e commit aa56ee3

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

mini.nvim/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ There are following change types:
133133

134134
- Add `gen_spotter.vimpattern()` that can generate spotter based on Vimscript (not Lua) pattern.
135135

136+
## mini.map {#v0.17.0-mini.map}
137+
138+
### Expand {#v0.17.0-mini.map-expand}
139+
140+
- Update `gen_integration.builtin_search()` to react to change of `v:hlsearch`.
141+
136142
## mini.misc {#v0.17.0-mini.misc}
137143

138144
### Expand {#v0.17.0-mini.misc-expand}

mini.nvim/doc/mini-map.qmd

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -835,15 +835,7 @@ Highlight lines with matches of current builtin search (like with [/](https://ne
835835
Integration count reflects number of actual matches.
836836

837837
It prompts integration highlighting update on every change of ['hlsearch'](https://neovim.io/doc/user/helptag.html?tag='hlsearch')
838-
(see [OptionSet](https://neovim.io/doc/user/helptag.html?tag=OptionSet)). Note that it is not happening for some keys:
839-
840-
- Toggle search highlight with [CTRL-L-default](https://neovim.io/doc/user/helptag.html?tag=CTRL-L-default) or `\h` from [mini.basics](mini-basics.qmd#mini.basics).
841-
Use custom mapping which changes mode. Like this:
842-
843-
```lua
844-
vim.keymap.set('n', [[\h]], ':let v:hlsearch = 1 - v:hlsearch<CR>')
845-
```
846-
838+
(see [OptionSet](https://neovim.io/doc/user/helptag.html?tag=OptionSet)) or [v:hlsearch](https://neovim.io/doc/user/helptag.html?tag=v:hlsearch). Note that it is not happening for some keys:
847839

848840
- After starting search with [n](https://neovim.io/doc/user/helptag.html?tag=n), [N](https://neovim.io/doc/user/helptag.html?tag=N), [star](https://neovim.io/doc/user/helptag.html?tag=star), or [#](https://neovim.io/doc/user/helptag.html?tag=#).
849841
To enable highlight update on this keys, make custom mappings. Like this:

0 commit comments

Comments
 (0)