vendor/assets/javascripts/ace/mode-terraform.js in ace-rails-ap-4.2 vs vendor/assets/javascripts/ace/mode-terraform.js in ace-rails-ap-4.3
- old
+ new
@@ -50,16 +50,16 @@
{
token: "storage.function.terraform",
regex: "^\\s*(locals|terraform)\\s*{"
},
{
- token: "paren.lpar",
+ token: "paren.lparen",
regex: "[[({]"
},
{
- token: "paren.rpar",
+ token: "paren.rparen",
regex: "[\\])}]"
},
{include: "constants"},
{include: "strings"},
{include: "operators"},
@@ -162,14 +162,14 @@
regex: "\\b(abs|basename|base64decode|base64encode|base64gzip|base64sha256|base64sha512|bcrypt|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnet|coalesce|coalescelist|compact|concat|contains|dirname|distinct|element|file|floor|flatten|format|formatlist|indent|index|join|jsonencode|keys|length|list|log|lookup|lower|map|matchkeys|max|merge|min|md5|pathexpand|pow|replace|rsadecrypt|sha1|sha256|sha512|signum|slice|sort|split|substr|timestamp|timeadd|title|transpose|trimspace|upper|urlencode|uuid|values|zipmap)\\b"
}
],
"parenthesis": [
{
- token: "paren.lpar",
+ token: "paren.lparen",
regex: "\\["
},
{
- token: "paren.rpar",
+ token: "paren.rparen",
regex: "\\]"
}
]
};
this.normalizeRules();
\ No newline at end of file