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

Support plain heredocs in on type formatting #2620

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

vinistock
Copy link
Member

Motivation

While working on #2617, I noticed that we were not accounting for no dash or tilde in a heredoc delimiter for on type formatting.

Implementation

We just need to make the group optional.

Automated Tests

Added a test.

@vinistock vinistock added bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes labels Sep 25, 2024
@vinistock vinistock self-assigned this Sep 25, 2024
@vinistock vinistock requested a review from a team as a code owner September 25, 2024 13:53
@vinistock vinistock requested review from andyw8 and st0012 September 25, 2024 13:53
Copy link
Contributor

@andyw8 andyw8 left a comment

Choose a reason for hiding this comment

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

Worth also adding a test for a quoted delimiter?

@vinistock vinistock force-pushed the vs-fix-plain-heredoc-on-type-formatting branch from a70b0de to b6c6f19 Compare September 25, 2024 14:00
@vinistock
Copy link
Member Author

Done!

@vinistock vinistock enabled auto-merge (squash) September 25, 2024 14:00
@vinistock vinistock merged commit d9420a2 into main Sep 25, 2024
35 checks passed
@vinistock vinistock deleted the vs-fix-plain-heredoc-on-type-formatting branch September 25, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants