Skip to content

Conversation

@0xrusowsky
Copy link
Contributor

@0xrusowsky 0xrusowsky commented Jun 25, 2025

i was working on improved lints that would show code diffs, and i realized that despite using fn highlighted_note, the fn flatten_messages would remove the style.

so this PR aims to enhance fn flatten_messages to optionally preserve styles while flattening (depending on whether the emitter supports styles or not).

i added a new fn label_with_style() to try to avoid breaking API changes for solar users, but not sure if may have missed something. @DaniPopes please lmk if the approach looks good or if we should do it differently.

PS: forge-lint PR in case it is useful foundry-rs/foundry#10846

@DaniPopes DaniPopes merged commit 44aeb5a into paradigmxyz:main Jun 25, 2025
14 checks passed
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