Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: a lot of edge cases #4

Merged
merged 17 commits into from
May 5, 2024
Merged

fix: a lot of edge cases #4

merged 17 commits into from
May 5, 2024

Conversation

tris203
Copy link
Owner

@tris203 tris203 commented May 2, 2024

closes #2

and a few edge cases reported on reddit

@tris203 tris203 requested a review from willothy May 2, 2024 22:10
Copy link
Collaborator

@willothy willothy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tried it but the changes look good to me

@tris203
Copy link
Owner Author

tris203 commented May 3, 2024

This is how I want it to be, however there is one regex I cant get right, or think how to refactor to work

The vertical motions will find the next blank lines, not the ones preceding/following content

@willothy perhaps you might have an idea? It is the tests that are commented with TODO comments and they use the two paragraph functions in vertical_motions.lua

@tris203 tris203 requested a review from willothy May 3, 2024 20:23
Copy link
Collaborator

@willothy willothy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small things but mostly looks good

lua/precognition/horizontal_motions.lua Outdated Show resolved Hide resolved
lua/precognition/init.lua Outdated Show resolved Hide resolved
lua/precognition/init.lua Show resolved Hide resolved
@willothy
Copy link
Collaborator

willothy commented May 4, 2024

Interface looks great!

@willothy
Copy link
Collaborator

willothy commented May 4, 2024

Not sure if I'll get to the paragraph motions tonight so maybe best to leave that out of this and I'll make another PR tomorrow?

@tris203 tris203 requested a review from willothy May 4, 2024 23:26
@tris203
Copy link
Owner Author

tris203 commented May 5, 2024

A few small things but mostly looks good

I think this is finally ready to merge

Copy link
Collaborator

@willothy willothy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@tris203 tris203 merged commit ee3f8a6 into main May 5, 2024
9 checks passed
@tris203 tris203 deleted the refactor_etc branch May 5, 2024 08:58
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.

Failed to place sign
2 participants