Skip to content

Restore column when near eof#35

Merged
farmergreg merged 1 commit intofarmergreg:masterfrom
faergeek:restore-column-when-near-eof
May 18, 2024
Merged

Restore column when near eof#35
farmergreg merged 1 commit intofarmergreg:masterfrom
faergeek:restore-column-when-near-eof

Conversation

@faergeek
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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