Skip to content

Commit 4163b49

Browse files
committed
feat(sync): synchronize with 'mini.nvim' main
1 parent eec7a00 commit 4163b49

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

mini.nvim/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ There are following change types:
4949

5050
- Add `gen_spec.user_prompt` that acts the same as `?` built-in textobject. It can be used for using this textobject under another identifier.
5151

52+
## mini.basics {#v0.17.0-mini.basics}
53+
54+
### Refine {#v0.17.0-mini.basics-refine}
55+
56+
- Change default value of `options.win_border` to be `'auto'`.
57+
58+
### Expand {#v0.17.0-mini.basics-expand}
59+
60+
- Update `options.win_border` to allow value `'auto'` which infers target 'fillchars' values from 'winborder' option.
61+
5262
## mini.completion {#v0.17.0-mini.completion}
5363

5464
### Evolve {#v0.17.0-mini.completion-evolve}

mini.nvim/doc/mini-basics.qmd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ Module setup
116116
extra_ui = false,
117117

118118
-- Presets for window borders ('single', 'double', ...)
119-
win_borders = 'default',
119+
-- Default 'auto' infers from 'winborder' option
120+
win_borders = 'auto',
120121
},
121122

122123
-- Mappings. Set field to `false` to disable.
@@ -266,10 +267,12 @@ List of affected options:
266267

267268

268269
The `config.options.win_borders` updates ['fillchars'](https://neovim.io/doc/user/helptag.html?tag='fillchars') to have a consistent set
269-
of characters for window border (`vert`, `horiz`, etc.).
270+
of characters for window border (`vert`, `horiz`, `msgsep`, etc.).
270271

271272
Available values:
272273

274+
- `'auto'` - infer from ['winborder'](https://neovim.io/doc/user/helptag.html?tag='winborder'). On Neovim<0.11 do nothing.
275+
273276
- `'bold'` - bold lines.
274277

275278
- `'dot'` - dot in every cell.

mini.nvim/readmes/mini-basics.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ Here are code snippets for some common installation methods (use only one):
134134
extra_ui = false,
135135

136136
-- Presets for window borders ('single', 'double', ...)
137-
win_borders = 'default',
137+
-- Default 'auto' infers from 'winborder' option
138+
win_borders = 'auto',
138139
},
139140

140141
-- Mappings. Set field to `false` to disable.

0 commit comments

Comments
 (0)