File tree Expand file tree Collapse file tree 5 files changed +3112
-7
lines changed Expand file tree Collapse file tree 5 files changed +3112
-7
lines changed Original file line number Diff line number Diff line change 5
5
<key >name </key >
6
6
<string >Comments </string >
7
7
<key >scope </key >
8
- <string >source.terraform </string >
8
+ <string >source.terraform, source.terraform-vars </string >
9
9
<key >settings </key >
10
10
<dict >
11
11
<key >shellVariables </key >
Original file line number Diff line number Diff line change
1
+ {
2
+ "tab_size" : 2 ,
3
+ "translate_tabs_to_spaces" : true
4
+ }
Original file line number Diff line number Diff line change
1
+ %YAML 1.2
2
+ #
3
+ # This syntax definition is based on the Terraform guide:
4
+ # https://www.terraform.io/docs/configuration/index.html
5
+ #
6
+ # As well as the HCL Native Syntax Spec:
7
+ # https://github.com/hashicorp/hcl2/blob/master/hcl/hclsyntax/spec.md
8
+ #
9
+ # For documentation on the .subline-syntax format:
10
+ # https://www.sublimetext.com/docs/syntax.html
11
+ #
12
+ # Regex's in this file support the Oniguruma regex engine:
13
+ # https://raw.githubusercontent.com/kkos/oniguruma/5.9.6/doc/RE
14
+ #
15
+ ---
16
+ name : Terraform (variables)
17
+
18
+ # File Extensions:
19
+ #
20
+ # - ".tfvars": variables definitions file
21
+ # https://www.terraform.io/docs/configuration/variables.html#variable-definitions-tfvars-files
22
+ file_extensions :
23
+ - tfvars
24
+ scope : source.terraform-vars
25
+
26
+ contexts :
27
+ main :
28
+ - include : scope:source.terraform
Original file line number Diff line number Diff line change 7
7
# https://github.com/hashicorp/hcl2/blob/master/hcl/hclsyntax/spec.md
8
8
#
9
9
# For documentation on the .subline-syntax format:
10
- # https://www.sublimetext.com/docs/3/ syntax.html
10
+ # https://www.sublimetext.com/docs/syntax.html
11
11
#
12
12
# Regex's in this file support the Oniguruma regex engine:
13
13
# https://raw.githubusercontent.com/kkos/oniguruma/5.9.6/doc/RE
@@ -20,14 +20,10 @@ name: Terraform
20
20
# - ".tf": the standard file extension
21
21
# https://www.terraform.io/docs/configuration/index.html#code-organization
22
22
#
23
- # - ".tfvars": variables definitions file
24
- # https://www.terraform.io/docs/configuration/variables.html#variable-definitions-tfvars-files
25
- #
26
23
# - ".hcl": non-terraform tools often use this HCL syntax, i.e. Vault
27
24
# https://www.vaultproject.io/docs/configuration/
28
25
file_extensions :
29
26
- tf
30
- - tfvars
31
27
- hcl
32
28
scope : source.terraform
33
29
@@ -549,4 +545,4 @@ contexts:
549
545
- include : main
550
546
- match : \}
551
547
scope : punctuation.section.block.end.terraform
552
- pop : true
548
+ pop : true
You can’t perform that action at this time.
0 commit comments