Skip to content

Commit 9501c1e

Browse files
committed
feat(mini.nvim): sync to 6170f60
1 parent bd5686d commit 9501c1e

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

mini.nvim/CHANGELOG.md

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

1919
The previous "reset by explicitly setting initial background color" behavior is available by setting the new `opts.explicit_reset` option to `true`.
2020

21+
## mini.pick {#v0.18.0-mini.pick}
22+
23+
### Expand {#v0.18.0-mini.pick-expand}
24+
25+
- Allow `source.preview` to directly set another buffer into picker's main window. The recommended way is still to adjust the provided `buf_id` buffer, but there is now a workaround if this is not reasonably possible.
26+
2127

2228
# Version 0.17.0 {#v0.17.0}
2329

mini.nvim/doc/mini-pick.qmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,9 @@ It will be called with the following arguments:
567567

568568
- `item` - item to preview.
569569

570-
It should update buffer `buf_id` to visually represent `item`.
570+
It should update buffer `buf_id` to visually represent `item`. It can also
571+
directly set another buffer in picker's main window, but usually it is more
572+
robust to update given `buf_id` directly.
571573

572574
Example:
573575

@@ -907,7 +909,7 @@ Disable icons in [MiniPick.builtin](mini-pick.qmd#minipick.builtin) pickers rela
907909
})
908910
```
909911

910-
#### Different window styles: {#minipick-examples-differentwindowstyles}
912+
#### Different window styles {#minipick-examples-differentwindowstyles}
911913

912914

913915

mini.nvim/readmes/mini-cmdline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ See more details in [Features](#features) and [Documentation](../doc/mini-cmdlin
1818

1919
⦿ See [whole library documentation](https://nvim-mini.org/mini.nvim/doc/mini-nvim) to learn about general design principles, disable/configuration recipes, and more.
2020

21-
<!-- ⦿ See [MiniMax](https://nvim-mini.org/MiniMax) for a full config example that uses this module. -->
21+
⦿ See [MiniMax](https://nvim-mini.org/MiniMax) for a full config example that uses this module.
2222

2323
---
2424

0 commit comments

Comments
 (0)