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

Wrong highlighting for function that splits over multiple lines inside a string #128

Open
dbanck opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dbanck
Copy link
Member

dbanck commented May 21, 2024

Originally reported in hashicorp/vscode-terraform#1756

Example

locals {
  list = [
    "1", "2", "3"
  ]
  function = [
    for i in local.list : "Out: ${join("-", [i, "join"]
    )}" if i != "2"
  ]
}

output "test" {
  value = local.function
}

Screenshot 2024-05-15 at 2 05 22 PM

It breaks some time after the 0.4.2 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant