Skip to content

Commit 5e1dd6e

Browse files
committed
docs(misc): mention resize_window at the top
1 parent 1858276 commit 5e1dd6e

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

doc/mini-misc.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Features the following functions:
1111
- |MiniMisc.put()| and |MiniMisc.put_text()| to pretty print its arguments
1212
into command line and current buffer respectively.
1313

14+
- |MiniMisc.resize_window()| to resize current window to its editable width.
15+
1416
- |MiniMisc.setup_auto_root()| to set up automated change of current directory.
1517

1618
- |MiniMisc.setup_termbg_sync()| to set up terminal background synchronization

lua/mini/misc.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
--- - |MiniMisc.put()| and |MiniMisc.put_text()| to pretty print its arguments
1010
--- into command line and current buffer respectively.
1111
---
12+
--- - |MiniMisc.resize_window()| to resize current window to its editable width.
13+
---
1214
--- - |MiniMisc.setup_auto_root()| to set up automated change of current directory.
1315
---
1416
--- - |MiniMisc.setup_termbg_sync()| to set up terminal background synchronization

readmes/mini-misc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ https://user-images.githubusercontent.com/24854248/173044891-69b0ccfd-3fe8-4639-
2828

2929
- `bench_time()` executes function several times and timing how long it took.
3030
- `put()` and `put_text()` print Lua objects in command line and current buffer respectively.
31+
- `resize_window()` resizes current window to its editable width.
3132
- `setup_auto_root()` sets up automated change of current directory.
3233
- `setup_termbg_sync()` to set up terminal background synchronization (removes possible "frame" around current Neovim instance).
3334
- `setup_restore_cursor()` sets up automated restoration of cursor position on file reopen.

0 commit comments

Comments
 (0)