Skip to content

Commit

Permalink
Merge pull request #24 from GreatFruitOmsk/master
Browse files Browse the repository at this point in the history
Fix detection of << end.
  • Loading branch information
alexlouden authored May 8, 2017
2 parents cc9fb7e + 9c09df6 commit 0594ba9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Terraform.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ patterns:
beginCaptures:
'0': {name: punctuation.definition.string.begin.terraform}
'1': {name: keyword.operator.heredoc.terraform}
end: ^\1$
end: ^\s*\1$
endCaptures:
'0': {name: punctuation.definition.string.end.terraform keyword.operator.heredoc.terraform}

Expand Down
2 changes: 1 addition & 1 deletion Terraform.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
</dict>
</dict>
<key>end</key>
<string>^\1$</string>
<string>^\s*\1$</string>
<key>endCaptures</key>
<dict>
<key>0</key>
Expand Down

0 comments on commit 0594ba9

Please sign in to comment.