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

Incorrect colouring with nested maps #675

Closed
scott-doyland-burrows opened this issue Jun 21, 2021 · 3 comments · Fixed by #925
Closed

Incorrect colouring with nested maps #675

scott-doyland-burrows opened this issue Jun 21, 2021 · 3 comments · Fixed by #925
Assignees
Labels
bug Something isn't working syntax

Comments

@scott-doyland-burrows
Copy link

An example.tfvars file like the following has incorrect colouring.

name1 is set to a different colour from name2 and name3

See the screenshot.

image

@jpogran
Copy link
Contributor

jpogran commented Jan 11, 2022

Thanks for the report @scott-doyland-burrows, we'll be looking into this as part of a larger syntax improvement plan.

Looking at this, name is being seen as a string, whereas name2 is being seen as a variable.

image

image

@jpogran jpogran added the bug Something isn't working label Jan 31, 2022
@dbanck
Copy link
Member

dbanck commented Feb 9, 2022

We've just merged #925 to address this issue.

This change will be released in the preview extension around midnight CET if you would like to try this out. Furthermore, we will be releasing this to stable in the near future.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working syntax
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants