hashicorp / hashicorp/syntax

Wrong highlighting for name-spaced function with object as first argument

Open
#122 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
31
Forks
12
Avg merge
7m
Merged PRs (30d)
1

Description

A name-spaced function that has an object as its first argument is incorrectly highlighted. It looks like it was recognized as a block instead.

## Example
```hcl
provider::terraform::encode_tfvars({
example, "Hello!",
)
```

CleanShot 2024-05-02 at 18 35 07@2x

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.