Skip to content

Commit da75951

Browse files
committed
Don't restrict resource types
Resource types are not limited to "aws_...". see: https://github.com/futurice/terraform-examples
1 parent 386ff90 commit da75951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Terraform.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ contexts:
673673
# https://github.com/hashicorp/hcl2/blob/master/hcl/hclsyntax/spec.md#structural-elements
674674
block:
675675
# Special case heuristic for the AWS two-term resources
676-
- match: (\b(resource)\s+(")(aws_{{identifier}})(")\s+(")({{identifier}})("))\s*(\{)
676+
- match: (\b(resource)\s+(")({{identifier}})(")\s+(")({{identifier}})("))\s*(\{)
677677
captures:
678678
1: meta.type.terraform
679679
2: keyword.declaration.terraform

0 commit comments

Comments
 (0)