rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.3k stars 732 forks source link

Update HCL & Terraform Lexers #1975

Closed X-Guardian closed 11 months ago

X-Guardian commented 1 year ago

This updates the HCL and Terraform Lexers with the following changes:

HCL Sample (Before)

Note the red errors

image

HCL Sample (After)

image

The Terraform sample is identical, before and after these changes.

X-Guardian commented 11 months ago

Hi maintainers, do you need any further detail from me regarding this proposed change? It would be great to get this merged for the next release.

tancnle commented 11 months ago

Thank you for your work on this MR, @X-Guardian. I will get to it by the end of the week.

tancnle commented 11 months ago

Thank you for considering the suggestions @X-Guardian. LGTM 🚀

X-Guardian commented 11 months ago

Thanks for merging this PR @tancnle. When do you plan to release the next version of rouge?

tancnle commented 11 months ago

@X-Guardian I will try to cut a new release before the end of this week.

X-Guardian commented 11 months ago

That's great. Thanks @tancnle.