summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDom H2023-01-06 12:59:13 +0000
committerGitHub2023-01-06 12:59:13 +0000
commit532531c3ca3824fa8fa75ca802d3b60e69e72682 (patch)
tree6c50b72bd73b174aa9d2a2d50074f22596ad6b19
parent0196cccb0cfdba6a7fd9630549522f7052ad8853 (diff)
Add runtime queries for `tfvars` (based on `hcl`) (#5396)
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--runtime/queries/tfvars/folds.scm1
-rw-r--r--runtime/queries/tfvars/highlights.scm1
-rw-r--r--runtime/queries/tfvars/indents.scm1
-rw-r--r--runtime/queries/tfvars/injections.scm1
5 files changed, 5 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index 1a3aed79..babb9941 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -120,7 +120,7 @@
| swift | ✓ | | | `sourcekit-lsp` |
| tablegen | ✓ | ✓ | ✓ | |
| task | ✓ | | | |
-| tfvars | | | | `terraform-ls` |
+| tfvars | ✓ | | ✓ | `terraform-ls` |
| toml | ✓ | | | `taplo` |
| tsq | ✓ | | | |
| tsx | ✓ | ✓ | ✓ | `typescript-language-server` |
diff --git a/runtime/queries/tfvars/folds.scm b/runtime/queries/tfvars/folds.scm
new file mode 100644
index 00000000..0e5ffc2d
--- /dev/null
+++ b/runtime/queries/tfvars/folds.scm
@@ -0,0 +1 @@
+; inherits: hcl
diff --git a/runtime/queries/tfvars/highlights.scm b/runtime/queries/tfvars/highlights.scm
new file mode 100644
index 00000000..0e5ffc2d
--- /dev/null
+++ b/runtime/queries/tfvars/highlights.scm
@@ -0,0 +1 @@
+; inherits: hcl
diff --git a/runtime/queries/tfvars/indents.scm b/runtime/queries/tfvars/indents.scm
new file mode 100644
index 00000000..0e5ffc2d
--- /dev/null
+++ b/runtime/queries/tfvars/indents.scm
@@ -0,0 +1 @@
+; inherits: hcl
diff --git a/runtime/queries/tfvars/injections.scm b/runtime/queries/tfvars/injections.scm
new file mode 100644
index 00000000..0e5ffc2d
--- /dev/null
+++ b/runtime/queries/tfvars/injections.scm
@@ -0,0 +1 @@
+; inherits: hcl