aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src/lib.rs
diff options
context:
space:
mode:
authorIvan Tham2022-04-13 01:02:53 +0000
committerGitHub2022-04-13 01:02:53 +0000
commit62283fdadb762d77deaba7ff820fbdac0b2d3a3b (patch)
treebed99274678beba6d73a48939f90a0536d4829b5 /helix-lsp/src/lib.rs
parenta0c6c45c1b5dc36f3c5151363d3f360bea388a99 (diff)
Make textobject select last paragraph (#1992)
* Make textobject select last paragraph Last paragraph shoud be selected if the cursor was placed on the whitespace paragraph part and `map` is done, otherwise it would do nothing useful, but now we select backwards for the last paragraph which behaves similarly to kakoune, making `map` useful for the last paragraph with whitespace. Example usecase is to copy and paste last ledger cli paragraph quickly by `mapyp` to duplicate last entry. * Fix typo in core textobject Co-authored-by: Michael Davis <mcarsondavis@gmail.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'helix-lsp/src/lib.rs')
0 files changed, 0 insertions, 0 deletions