Skip to content

Commit 1858276

Browse files
committed
docs(align): improve list formatting
1 parent 788ae77 commit 1858276

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

doc/mini-align.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ Features:
1313
- <Split> lines into parts based on Lua pattern(s) or user-supplied rule.
1414
- <Justify> parts for certain side(s) to be same width inside columns.
1515
- <Merge> parts to be lines, with customizable delimiter(s).
16-
Each main step can be preceded by other steps (pre-steps) to achieve
17-
highly customizable outcome. See `steps` value in |MiniAlign.config|. For
18-
more details, see |MiniAlign-glossary| and |MiniAlign-algorithm|.
16+
17+
Each main step can be preceded by other steps (pre-steps) to achieve
18+
highly customizable outcome. See `steps` value in |MiniAlign.config|.
19+
For more details, see |MiniAlign-glossary| and |MiniAlign-algorithm|.
1920

2021
- User can control alignment interactively by pressing customizable modifiers
2122
(single keys representing how alignment steps and/or options should change).
@@ -30,7 +31,8 @@ Features:
3031
- Press `p` to pair neighboring parts so they be aligned together.
3132
- Press `t` to trim whitespace from parts.
3233
- Press `<BS>` (backspace) to delete some last pre-step.
33-
For more details, see |MiniAlign-modifiers-builtin| and |MiniAlign-examples|.
34+
35+
For more details, see |MiniAlign-modifiers-builtin| and |MiniAlign-examples|.
3436

3537
- Alignment can be done with instant preview (result is updated after each
3638
modifier) or without it (result is shown and accepted after non-default

lua/mini/align.lua

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
--- - <Split> lines into parts based on Lua pattern(s) or user-supplied rule.
1212
--- - <Justify> parts for certain side(s) to be same width inside columns.
1313
--- - <Merge> parts to be lines, with customizable delimiter(s).
14-
--- Each main step can be preceded by other steps (pre-steps) to achieve
15-
--- highly customizable outcome. See `steps` value in |MiniAlign.config|. For
16-
--- more details, see |MiniAlign-glossary| and |MiniAlign-algorithm|.
14+
---
15+
--- Each main step can be preceded by other steps (pre-steps) to achieve
16+
--- highly customizable outcome. See `steps` value in |MiniAlign.config|.
17+
--- For more details, see |MiniAlign-glossary| and |MiniAlign-algorithm|.
1718
---
1819
--- - User can control alignment interactively by pressing customizable modifiers
1920
--- (single keys representing how alignment steps and/or options should change).
@@ -28,7 +29,8 @@
2829
--- - Press `p` to pair neighboring parts so they be aligned together.
2930
--- - Press `t` to trim whitespace from parts.
3031
--- - Press `<BS>` (backspace) to delete some last pre-step.
31-
--- For more details, see |MiniAlign-modifiers-builtin| and |MiniAlign-examples|.
32+
---
33+
--- For more details, see |MiniAlign-modifiers-builtin| and |MiniAlign-examples|.
3234
---
3335
--- - Alignment can be done with instant preview (result is updated after each
3436
--- modifier) or without it (result is shown and accepted after non-default

0 commit comments

Comments
 (0)