You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-core/src
Daniel S Poulin 7711db3a3a
Adjust `m` textobject description and minor code clarification (#3343)
* Update description of `m` textobject to its actual functionality

Sometime recently the functionality of `m` was changed to match the
nearest pair to the cursor, rather than the former functionality of
matching the pair only if the cursor was on one of the brace characters
directly.

* Rename surround methods to reflect that they work on pairs

The current naming suggests that they may work generally on any
textobject, whereas their implementation really focuses on pairs.

* Change description of m textobject to match actual functionality

The current implementation of `m` no longer merely looks at the pair
character the cursor is on, but actually will search for the pair
(defined in helix-core/src/surround.rs) that encloses the cursor, and
not the entire selection.

* Accept suggested wording change

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Prefix pair surround for consistency

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2 years ago
..
increment Resolve clippy lints (#3307) 2 years ago
auto_pairs.rs use main application event loop 3 years ago
chars.rs Temporarily turn on unicode-lines 3 years ago
comment.rs Fix toggle_comments command on multiple selections (#1882) 3 years ago
config.rs Add support for local language configuration (#1249) 3 years ago
diagnostic.rs Suport diagnostic code (#3096) 2 years ago
diff.rs Fix Clippy lints in tests (#1563) 3 years ago
graphemes.rs Improve Readability (#2639) 3 years ago
history.rs Improve Readability (#2639) 3 years ago
indent.rs Fix some typos (#2978) 2 years ago
lib.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 3 years ago
line_ending.rs Fix failing test with unicode-lines feature (#3455) 2 years ago
macros.rs Split parts of helix-term into helix-view. 4 years ago
match_brackets.rs Fix match brackets comment (#1346) 3 years ago
movement.rs respect count in treesitter movement (#3058) 2 years ago
object.rs Fix edge-case in tree-sitter expand_selection selection command (#2877) 3 years ago
path.rs Add workspace and document diagnostics picker (#2013) 2 years ago
position.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 3 years ago
register.rs fixes showing the last prompt on empty input (#2870) 3 years ago
search.rs Jump to the next number on the line before incrementing (#1778) 3 years ago
selection.rs Avoid copying fragments (#3136) 2 years ago
shellwords.rs Enable shellwords for Windows (with escaping disabled) (#2767) 3 years ago
state.rs Reduce State use a bit further 3 years ago
surround.rs Improve Readability (#2639) 3 years ago
syntax.rs Fix nondeterministic highlighting (#3275) 2 years ago
test.rs Remove usage of format ident feature from tests (#2028) 3 years ago
textobject.rs Adjust `m` textobject description and minor code clarification (#3343) 2 years ago
transaction.rs core: transaction: Resolve some TODOs 3 years ago
wrap.rs add reflow command (#2128) 3 years ago