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

Invalid syntax highlighting in single-line block in 0.5.0 #303

Open
nickmasster opened this issue May 23, 2024 · 1 comment
Open

Invalid syntax highlighting in single-line block in 0.5.0 #303

nickmasster opened this issue May 23, 2024 · 1 comment

Comments

@nickmasster
Copy link

Hi 👋

Using extension for HCL syntax highlighting in Terragrunt and Terraform configurations.

After upgrading to version 0.5.0, single-line blocks appear broken. See screenshots:

Version 0.4.0
Screenshot 2024-05-23 at 20 02 36

Version 0.5.0
Screenshot 2024-05-23 at 20 01 41

When using latest version of HashiCorp Terraform extension for syntax highlighting everything seems ok. But looks like it didn't get the fix for hashicorp/syntax#120 yet.

@jpogran
Copy link
Contributor

jpogran commented Jul 29, 2024

Hi @nickmasster, thanks for raising this. Terragrunt files are a separate product, so you will have to look to that product for specific syntax support. The vscode-hcl extension can provide syntax highlighting for any HCL compliant file, but product specific features like Terragrunt require specific support by those products.

I'll double check that this extension is inline with the Terraform one.

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

No branches or pull requests

2 participants