-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from rchl/fix/separate-tfvars
Split the tfvars handling into a separate syntax file
- Loading branch information
Showing
5 changed files
with
3,112 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"tab_size": 2, | ||
"translate_tabs_to_spaces": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
%YAML 1.2 | ||
# | ||
# This syntax definition is based on the Terraform guide: | ||
# https://www.terraform.io/docs/configuration/index.html | ||
# | ||
# As well as the HCL Native Syntax Spec: | ||
# https://github.com/hashicorp/hcl2/blob/master/hcl/hclsyntax/spec.md | ||
# | ||
# For documentation on the .subline-syntax format: | ||
# https://www.sublimetext.com/docs/syntax.html | ||
# | ||
# Regex's in this file support the Oniguruma regex engine: | ||
# https://raw.githubusercontent.com/kkos/oniguruma/5.9.6/doc/RE | ||
# | ||
--- | ||
name: Terraform (variables) | ||
|
||
# File Extensions: | ||
# | ||
# - ".tfvars": variables definitions file | ||
# https://www.terraform.io/docs/configuration/variables.html#variable-definitions-tfvars-files | ||
file_extensions: | ||
- tfvars | ||
scope: source.terraform-vars | ||
|
||
contexts: | ||
main: | ||
- include: scope:source.terraform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.