File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -700,16 +700,16 @@ contexts:
700
700
#
701
701
# https://github.com/hashicorp/hcl2/blob/master/hcl/hclsyntax/spec.md#structural-elements
702
702
block :
703
- # Special case heuristic for the AWS two-term resources
703
+ # Special case heuristic for the AWS and friends two-term resources
704
704
- match : (\b(resource)\s+(")({{identifier}})(")\s+(")({{identifier}})("))\s*(\{)
705
705
captures :
706
706
1 : meta.type.terraform
707
707
2 : keyword.declaration.terraform
708
708
3 : punctuation.definition.begin.terraform
709
- 4 : support.type.aws
709
+ 4 : support.type.terraform
710
710
5 : punctuation.definition.end.terraform
711
711
6 : punctuation.definition.begin.terraform
712
- 7 : entity.name.type.aws
712
+ 7 : entity.name.type.terraform
713
713
8 : punctuation.definition.end.terraform
714
714
9 : meta.block.terraform punctuation.section.block.begin.terraform
715
715
push : block-body
Original file line number Diff line number Diff line change 3001
3001
# ^^ meta.block.terraform - meta.type
3002
3002
# ^^^^^^^^ keyword.declaration.terraform
3003
3003
# ^ punctuation.definition.begin.terraform
3004
- # ^^^^^^^^^^^^^^^^^^ support.type.aws
3004
+ # ^^^^^^^^^^^^^^^^^^ support.type.terraform
3005
3005
# ^ punctuation.definition.end.terraform
3006
3006
# ^ punctuation.definition.begin.terraform
3007
- # ^^^^^^^ entity.name.type.aws
3007
+ # ^^^^^^^ entity.name.type.terraform
3008
3008
# ^ punctuation.definition.end.terraform
3009
3009
# ^ punctuation.section.block.begin.terraform
3010
3010
name = " example"
You can’t perform that action at this time.
0 commit comments