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-term
Michael Davis 274f2ea459 Use requested direction for new textobject selection range
This changes the behavior of operations like `]f`/`[f` to set the
direction of the new range to the direction of the action.

The original behavior was to always use the head of the next function.
This is inconsistent with the behavior of goto_next_paragraph and makes
it impossible to create extend variants of the textobject motions.

This causes a behavior change when there are nested functions. The
behavior in the parent commit is that repeated uses of `]f` will
select every function in the file even if nested. With this commit,
functions are skipped.

It's notable that it's possible to emulate the original behavior by
using the `ensure_selections_forward` (A-:) command between invocations
of `]f`.
2 years ago
..
src Use requested direction for new textobject selection range 2 years ago
tests fix: Recalculate completion when going through prompt history (#3193) 2 years ago
.gitignore Initial import. 4 years ago
Cargo.toml build(deps): bump once_cell from 1.14.0 to 1.15.0 (#3987) 2 years ago
build.rs feat: support grammar cross-compilation 2 years ago