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

Restore column when near eof #35

Merged
merged 1 commit into from
May 18, 2024
Merged

Restore column when near eof #35

merged 1 commit into from
May 18, 2024

Conversation

faergeek
Copy link
Contributor

Hi! Thanks for this very useful plugin 👍

The only thing that bothered me a bit is that it uses quote instead of backtick when we're near the end of the file, which means it jumps to first non-blank character (so not restoring the column position). Seems like it was like that right from it's introduction in 2015 (945cc1a), but I'm not sure if it's actually intended to behave like that for some reason.

@farmergreg
Copy link
Owner

farmergreg commented May 17, 2024

Thanks for the pull request! I'll try to test it out this weekend. You may have resolved a long standing bug. thanks!

If anyone else happens to test, please post your results here.

@farmergreg farmergreg merged commit 949ce40 into farmergreg:master May 18, 2024
@farmergreg
Copy link
Owner

farmergreg commented May 18, 2024

Thanks for the bug fix! This has been an issue for years, and thanks to your eagle-eyed diligence, it is now squashed! Crazy how tiny details matter in our profession! This particular bug has bitten me a number of times. Thanks for fixing it!

@faergeek faergeek deleted the restore-column-when-near-eof branch May 18, 2024 03:12
@faergeek
Copy link
Contributor Author

Awesome! Thank you for maintaining this plugin for so long 👍

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