Skip to content

Commit f80d68b

Browse files
committed
Address minor review feedback
1 parent 6be8cd6 commit f80d68b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Terraform.sublime-syntax

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ contexts:
724724
- block-declaration
725725

726726
block-declaration:
727-
- match: \b{{identifier}}\b
727+
- match: '{{identifier}}'
728728
scope: keyword.declaration.terraform
729729
pop: 1
730730
- include: else-pop
@@ -740,10 +740,10 @@ contexts:
740740

741741
block-type-label-body:
742742
- meta_scope: meta.string.terraform support.type.terraform
743-
- include: character-escapes
744743
- match: \"
745744
scope: punctuation.definition.string.end.terraform
746745
pop: 1
746+
- include: character-escapes
747747

748748
block-name-label:
749749
- match: \"
@@ -756,10 +756,10 @@ contexts:
756756

757757
block-name-label-body:
758758
- meta_scope: meta.string.terraform entity.name.label.terraform
759-
- include: character-escapes
760759
- match: \"
761760
scope: punctuation.definition.string.end.terraform
762761
pop: 1
762+
- include: character-escapes
763763

764764
generic-block-labels:
765765
# Labels probably have a meaning, but we don't know which,
@@ -773,13 +773,13 @@ contexts:
773773

774774
generic-block-label-body:
775775
- meta_scope: meta.string.terraform string.quoted.double.terraform
776-
- include: character-escapes
777776
- match: \"
778777
scope: punctuation.definition.string.end.terraform
779778
pop: 1
779+
- include: character-escapes
780780

781781
body:
782-
- meta_content_scope: meta.block.terraform
782+
- meta_content_scope: meta.block.head.terraform
783783
- match: \{
784784
scope: punctuation.section.block.begin.terraform
785785
set: body-body

0 commit comments

Comments
 (0)