From 532531c3ca3824fa8fa75ca802d3b60e69e72682 Mon Sep 17 00:00:00 2001 From: Dom H Date: Fri, 6 Jan 2023 12:59:13 +0000 Subject: [PATCH] Add runtime queries for `tfvars` (based on `hcl`) (#5396) --- book/src/generated/lang-support.md | 2 +- runtime/queries/tfvars/folds.scm | 1 + runtime/queries/tfvars/highlights.scm | 1 + runtime/queries/tfvars/indents.scm | 1 + runtime/queries/tfvars/injections.scm | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 runtime/queries/tfvars/folds.scm create mode 100644 runtime/queries/tfvars/highlights.scm create mode 100644 runtime/queries/tfvars/indents.scm create mode 100644 runtime/queries/tfvars/injections.scm 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