mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 13:10:54 +00:00
b5b872656b
This PR extracts Terraform support into an extension and removes the built-in Terraform support from Zed. Release Notes: - Removed built-in support for Terraform, in favor of making it available as an extension. The Terraform extension will be suggested for download when you open a `.tf`, `.tfvars`, or `.hcl` file.
14 lines
643 B
TOML
14 lines
643 B
TOML
name = "Terraform Vars"
|
|
grammar = "hcl"
|
|
path_suffixes = ["tfvars"]
|
|
line_comments = ["# ", "// "]
|
|
block_comment = ["/*", "*/"]
|
|
autoclose_before = ",}])"
|
|
brackets = [
|
|
{ start = "{", end = "}", close = true, newline = true },
|
|
{ start = "[", end = "]", close = true, newline = true },
|
|
{ start = "(", end = ")", close = true, newline = true },
|
|
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["comment", "string"] },
|
|
{ start = "'", end = "'", close = true, newline = false, not_in = ["comment", "string"] },
|
|
{ start = "/*", end = " */", close = true, newline = false, not_in = ["comment", "string"] },
|
|
]
|