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

the comment #12

Merged
merged 1 commit into from
Dec 14, 2023
Merged

the comment #12

merged 1 commit into from
Dec 14, 2023

Conversation

arnetheduck
Copy link
Owner

Improve comment handling by making sure that comment tokens are skipped consistently, postfixed at the "outer" level as much as possible and generally don't go missing if they get attached to the wrong node.

  • keep better track of end-of-token information for better empty line preservation
  • fix several cases of swallowed mid comments
  • fix several cases of unnecessarily re-indented comments
  • more regular line break after proc-with-body and friends

Improve comment handling by making sure that comment tokens are skipped
consistently, postfixed at the "outer" level as much as possible and
generally don't go missing if they get attached to the wrong node.

* keep better track of end-of-token information for better empty line
preservation
* fix several cases of swallowed mid comments
* fix several cases of unnecessarily re-indented comments
* more regular line break after proc-with-body and friends
@arnetheduck arnetheduck merged commit a7403cf into master Dec 14, 2023
6 checks passed
@arnetheduck arnetheduck deleted the the-comment branch December 14, 2023 19:17
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.

1 participant