Terraform syntax highlighting appears to be broken on Github with nested parentheses and strings #7122
Replies: 1 comment 1 reply
-
Please see the docs: There's a problem with the syntax highlighting of a file. Closing as this is not a Linguist issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looks like its do do with string interpolation
"${var.foo}"
(which does work) when nested inside parentheses[]
Example:
I can't give the full source file because it's a private repo but here's a screenshot of how it's broken (line 246):
Minimal broken example is probably:
This works (no nested
${}
inside""
)... but this works (nested
${}
inside""
but no outer[]
)Example of a working syntax highlighter (VSCode):
Beta Was this translation helpful? Give feedback.
All reactions