Commit graph

3 commits

Author SHA1 Message Date
Roberto Pommella Alegro
599fd416c8 remove accidental text 2022-07-08 21:58:42 +02:00
Roberto Pommella Alegro
aac4f027c5 Add heredoc language injection for HCL
Add a heredoc language injection similar to Ruby for HCL. This allows terraform resources like this to be properly highlighted

```hcl
resource "aws_iam_role" "sample" {
  name               = "sample"
  assume_role_policy = <<JSON
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Action": "sts:AssumeRole",
      "Principal": {
        "AWS": "*"
      },
      "Effect": "Allow",
      "Sid": ""
    }
  ]
}
JSON
}
```
2022-07-08 21:58:42 +02:00
mhoffm
2ea75bf3aa add basic injections 2021-07-02 01:56:25 +02:00