Skip to content

Commit

Permalink
Merge pull request #62 from SublimeText/feature/v2
Browse files Browse the repository at this point in the history
Use version: 2 for syntaxes
  • Loading branch information
FichteFoll authored Aug 7, 2024
2 parents 99e20d5 + 6a1add1 commit 9d53736
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions HCL.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
---
name: HCL

version: 2

# File Extensions:
#
# - ".hcl": non-terraform tools often use this HCL syntax, i.e. Vault
Expand All @@ -23,6 +25,4 @@ file_extensions:
- hcl
scope: source.hcl

contexts:
main:
- include: scope:source.terraform
extends: Terraform.sublime-syntax
6 changes: 3 additions & 3 deletions Terraform-vars.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
---
name: Terraform (variables)

version: 2

# File Extensions:
#
# - ".tfvars": variables definitions file
Expand All @@ -23,6 +25,4 @@ file_extensions:
- tfvars
scope: source.terraform-vars

contexts:
main:
- include: scope:source.terraform
extends: Terraform.sublime-syntax
2 changes: 2 additions & 0 deletions Terraform.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
---
name: Terraform

version: 2

# File Extensions:
#
# - ".tf": the standard file extension
Expand Down

0 comments on commit 9d53736

Please sign in to comment.