Skip to content

Comments

Fix commands with % movement#1405

Merged
cxxxr merged 3 commits intolem-project:mainfrom
davidsun0:main
Jun 19, 2024
Merged

Fix commands with % movement#1405
cxxxr merged 3 commits intolem-project:mainfrom
davidsun0:main

Conversation

@davidsun0
Copy link
Contributor

- Fix issue where commands like y% were interpreted as y1%
- Add regression tests
@cxxxr
Copy link
Member

cxxxr commented Jun 14, 2024

Thank you.
By the way, the vi-mode test is failing, but is this related to your changes?

@davidsun0
Copy link
Contributor Author

The failing test is for vi macros, but the test doesn't use %, so I don't think it's caused by my changes. I'll try debugging it and see what I find.

@cxxxr
Copy link
Member

cxxxr commented Jun 15, 2024

I'm sorry to have merged without waiting for CI, but it seems that I've started to fail with this PR.
#1395

- Specify that only 'dd' deletes trailing blank line
- Add regression test for delete with motion on trailing blank line
@davidsun0
Copy link
Contributor Author

@cxxxr Thanks for waiting. I fixed my mistake and improved the dd test case.

@cxxxr cxxxr merged commit 913fdea into lem-project:main Jun 19, 2024
@cxxxr
Copy link
Member

cxxxr commented Jun 19, 2024

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants