Skip to content

Commit 888006e

Browse files
authored
Merge pull request #37 from Tenzer/minor-fixes
Minor fixes
2 parents 3227a2d + 521fc75 commit 888006e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Terraform.sublime-syntax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ contexts:
102102
0: keyword.control.period.terraform
103103
- include: strings
104104
string_interpolation_functions:
105-
- match: (base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|ceil|chomp|cidrhost|cidrnetmask|cidrsubnet|coalesce|coalescelist|compact|concat|contains|dirname|distinct|element|file|flatten|floor|format|formatlist|index|join|jsonencode|keys|length|list|log|lookup|lower|map|matchkeys|max|md5|merge|min|pathexpand|pow|replace|sha1|sha256|sha512|signum|slice|sort|split|substr|timestamp|title|trimspace|upper|urlencode|uuid|values|zipmap)(\()
105+
- match: (abs|base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnet|coalesce|coalescelist|compact|concat|contains|csvdecode|dirname|distinct|element|file|filebase64|filebase64sha256|filebase64sha512|fileexists|filemd5|filesha1|filesha256|filesha512|flatten|floor|format|formatdate|formatlist|indent|index|join|jsondecode|jsonencode|keys|length|list|log|lookup|lower|map|matchkeys|max|md5|merge|min|pathexpand|pow|range|replace|reverse|rsadecrypt|setintersection|setproduct|setunion|sha1|sha256|sha512|signum|slice|sort|split|strrev|substr|templatefile|timeadd|timestamp|title|tobool|tolist|tomap|tonumber|toset|tostring|transpose|trimspace|upper|urlencode|uuid|uuidv5|values|yamldecode|yamlencode|zipmap)(\()
106106
comment: Builtin functions
107107
captures:
108108
1: keyword.other.function.inline.terraform
@@ -115,7 +115,7 @@ contexts:
115115
- include: string_interpolation_functions
116116
- include: string_interpolation_keywords
117117
string_interpolation_keywords:
118-
- match: '(terraform|var|self|count|module|path|data|local)(\.[\w\*]+)+'
118+
- match: '(terraform|var|self|count|module|path|data|local)(\.[\w\-\*]+)+'
119119
captures:
120120
0: entity.other.attribute-name.terraform
121121
strings:

0 commit comments

Comments
 (0)