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

Create an accurate Terraform & HCL grammar for PrismJS #39

Open
10 tasks
radeksimko opened this issue May 27, 2022 · 0 comments
Open
10 tasks

Create an accurate Terraform & HCL grammar for PrismJS #39

radeksimko opened this issue May 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@radeksimko
Copy link
Member

radeksimko commented May 27, 2022

Background

HCL and Terraform languages evolve over time and the existing community-maintained PrismJS grammar doesn't accurately capture the state of these languages or relationship between HCL and Terraform.

In particular they seem to be treated as the same language, where any HCL config (such as Packer) highlights Terraform keywords:
https://github.com/PrismJS/prism/blob/c2f6a64426f44497a675cb32dccb079b3eff1609/components/prism-hcl.js

Proposal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant