Skip to content

Commit

Permalink
docs(pairs): clarify that it works only with two character pair
Browse files Browse the repository at this point in the history
  • Loading branch information
echasnovski committed Oct 8, 2024
1 parent 319361e commit 16408bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/mini-pairs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ MIT License Copyright (c) 2021 Evgeni Chasnovski
==============================================================================

Features:
- Functionality to work with 'paired' characters conditional on cursor's
neighborhood (two characters to its left and right).
- Functionality to work with two "paired" characters conditional on cursor's
neighborhood (character to its left and character to its right).

- Usage should be through making appropriate mappings using |MiniPairs.map|
or in |MiniPairs.setup| (for global mapping), |MiniPairs.map_buf| (for
Expand Down
4 changes: 2 additions & 2 deletions lua/mini/pairs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
--- ==============================================================================
---
--- Features:
--- - Functionality to work with 'paired' characters conditional on cursor's
--- neighborhood (two characters to its left and right).
--- - Functionality to work with two "paired" characters conditional on cursor's
--- neighborhood (character to its left and character to its right).
---
--- - Usage should be through making appropriate mappings using |MiniPairs.map|
--- or in |MiniPairs.setup| (for global mapping), |MiniPairs.map_buf| (for
Expand Down
2 changes: 1 addition & 1 deletion readmes/mini-pairs.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ https://user-images.githubusercontent.com/24854248/173044991-18653715-9b4e-444e-

## Features

- Functionality to work with 'paired' characters conditional on cursor's neighborhood (two characters to its left and right).
- Functionality to work with two "paired" characters conditional on cursor's neighborhood (character to its left and character to its right).
- Usage should be through making appropriate mappings using `MiniPairs.map()` or in `MiniPairs.setup()` (for global mapping), `MiniPairs.map_buf()` (for buffer mapping).
- Pairs get automatically registered to be recognized by `<BS>` and `<CR>`.

Expand Down

0 comments on commit 16408bc

Please sign in to comment.