Skip to content

Commit 7a46714

Browse files
committed
docs: fix several typos
Resolve #964 Resolve #967
1 parent d7e05b3 commit 7a46714

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

doc/mini-clue.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Notes:
7272
Mapping for trigger should be the first listed.
7373

7474
This module makes the best effort to work out of the box and cover
75-
most common cases, but it is not full proof. The solution here is to
75+
most common cases, but it is not foolproof. The solution here is to
7676
ensure that triggers are created after making all buffer-local mappings:
7777
run either |MiniClue.setup()| or |MiniClue.ensure_buf_triggers()|.
7878

@@ -81,7 +81,7 @@ Notes:
8181
relevant as possible. To add/customize description of an already existing
8282
mapping, use |MiniClue.set_mapping_desc()|.
8383

84-
- Due to technical difficulties, there is no full proof support for
84+
- Due to technical difficulties, there is no foolproof support for
8585
Operator-pending mode triggers (like `a`/`i` from |mini.ai|):
8686
- Doesn't work as part of a command in "temporary Normal mode" (like
8787
after |i_CTRL-O|) due to implementation difficulties.
@@ -168,7 +168,7 @@ Main goals of its existence are:
168168

169169
This process is primarily designed for nested `<Leader>` mappings in Normal
170170
mode but works in all other main modes: Visual, Insert, Operator-pending
171-
(with caveats; no full proof guarantees), Command-line, Terminal.
171+
(with caveats; no foolproof guarantees), Command-line, Terminal.
172172

173173
## Lifecycle ~
174174

doc/mini-surround.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Extended mappings (temporary force "prev"/"next" search methods):
8484
- `sdnf` - delete (`sd`) next (`n`) function call (`f`).
8585
- `srlf(` - replace (`sr`) last (`l`) function call (`f`) with padded
8686
bracket (`(`).
87-
- `2sfnt` - find (`sf`) second (2) next (`n`) tag (`t`).
87+
- `2sfnt` - find (`sf`) second (`2`) next (`n`) tag (`t`).
8888
- `2shl}` - highlight (`sh`) last (`l`) second (`2`) curly bracket (`}`).
8989

9090
# Comparisons ~

lua/mini/clue.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
--- Mapping for trigger should be the first listed.
7373
---
7474
--- This module makes the best effort to work out of the box and cover
75-
--- most common cases, but it is not full proof. The solution here is to
75+
--- most common cases, but it is not foolproof. The solution here is to
7676
--- ensure that triggers are created after making all buffer-local mappings:
7777
--- run either |MiniClue.setup()| or |MiniClue.ensure_buf_triggers()|.
7878
---
@@ -81,7 +81,7 @@
8181
--- relevant as possible. To add/customize description of an already existing
8282
--- mapping, use |MiniClue.set_mapping_desc()|.
8383
---
84-
--- - Due to technical difficulties, there is no full proof support for
84+
--- - Due to technical difficulties, there is no foolproof support for
8585
--- Operator-pending mode triggers (like `a`/`i` from |mini.ai|):
8686
--- - Doesn't work as part of a command in "temporary Normal mode" (like
8787
--- after |i_CTRL-O|) due to implementation difficulties.
@@ -166,7 +166,7 @@
166166
---
167167
--- This process is primarily designed for nested `<Leader>` mappings in Normal
168168
--- mode but works in all other main modes: Visual, Insert, Operator-pending
169-
--- (with caveats; no full proof guarantees), Command-line, Terminal.
169+
--- (with caveats; no foolproof guarantees), Command-line, Terminal.
170170
---
171171
--- ## Lifecycle ~
172172
---

lua/mini/surround.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
--- - `sdnf` - delete (`sd`) next (`n`) function call (`f`).
8585
--- - `srlf(` - replace (`sr`) last (`l`) function call (`f`) with padded
8686
--- bracket (`(`).
87-
--- - `2sfnt` - find (`sf`) second (2) next (`n`) tag (`t`).
87+
--- - `2sfnt` - find (`sf`) second (`2`) next (`n`) tag (`t`).
8888
--- - `2shl}` - highlight (`sh`) last (`l`) second (`2`) curly bracket (`}`).
8989
---
9090
--- # Comparisons ~

readmes/mini-clue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ Notes:
7777

7878
To check if trigger is the most recent buffer-local mapping, execute `:<mode-char>map <trigger-keys>` (like `:nmap g` for previous example). Mapping for trigger should be the first listed.
7979

80-
This module makes the best effort to work out of the box and cover most common cases, but it is not full proof. The solution here is to ensure that triggers are created after making all buffer-local mappings: run either `MiniClue.setup()` or `MiniClue.ensure_buf_triggers()`.
80+
This module makes the best effort to work out of the box and cover most common cases, but it is not foolproof. The solution here is to ensure that triggers are created after making all buffer-local mappings: run either `MiniClue.setup()` or `MiniClue.ensure_buf_triggers()`.
8181

8282
- Descriptions from existing mappings take precedence over user-supplied clues. This is to ensure that information shown in clue window is as relevant as possible. To add/customize description of an already existing mapping, use `MiniClue.set_mapping_desc()`.
8383

84-
- Due to technical difficulties, there is no full proof support for Operator-pending mode triggers (like `a`/`i` from 'mini.ai'):
84+
- Due to technical difficulties, there is no foolproof support for Operator-pending mode triggers (like `a`/`i` from 'mini.ai'):
8585
- Doesn't work as part of a command in "temporary Normal mode" (like after `<C-o>` in Insert mode) due to implementation difficulties.
8686
- Can have unexpected behavior with custom operators.
8787

0 commit comments

Comments
 (0)