Skip to content

Conversation

@karreiro
Copy link
Contributor

Based on the #51 (comment) thread, this PR updates the global setting for snippet truncation. We're moving from ErrorHighlight::DefaultFormatter.snippet_max_width to ErrorHighlight::DefaultFormatter.max_snippet_width.

@karreiro karreiro changed the title ename the ErrorHighlight::DefaultFormatter setting to max_snippet_width for clarity Rename the ErrorHighlight::DefaultFormatter setting to max_snippet_width for clarity Oct 23, 2024
@karreiro karreiro force-pushed the default-formatter-setting branch from fc54e82 to a442240 Compare October 23, 2024 21:04
@karreiro karreiro mentioned this pull request Oct 23, 2024
@mame mame merged commit e13cbd4 into ruby:master Oct 24, 2024
@mame
Copy link
Member

mame commented Oct 24, 2024

Thank you!

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