Skip to content

Commit df9a70e

Browse files
authored
Fix stray bracket scope (#93)
1 parent 0ac3c6b commit df9a70e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Terraform.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ contexts:
695695

696696
illegal-strays:
697697
- match: '[\])}]'
698-
scope: invalid.illegal.stray.python
698+
scope: invalid.illegal.stray.terraform
699699

700700
# Blocks: Identifier (StringLit|Identifier)* "{" Newline Body "}" Newline;
701701
#

tests/syntax_test_scope.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3441,10 +3441,10 @@ resource "aws_iam_role_policy" "attach-inline-policy-1" {
34413441
}
34423442

34433443
]
3444-
# <- invalid.illegal.stray.python
3444+
# <- invalid.illegal.stray.terraform
34453445

34463446
}
3447-
# <- invalid.illegal.stray.python
3447+
# <- invalid.illegal.stray.terraform
34483448

34493449
)
3450-
# <- invalid.illegal.stray.python
3450+
# <- invalid.illegal.stray.terraform

0 commit comments

Comments
 (0)