From 7dcda34771e245dc065a6a449f4de760dce4cfc1 Mon Sep 17 00:00:00 2001 From: Lukas Knuth Date: Mon, 23 Sep 2024 00:48:50 +0200 Subject: [PATCH 1/2] Point HCL grammer to newest This adds support for provider-defined function calls in Terraform. --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index cf1d5ae135bd..d4213d65cf32 100644 --- a/languages.toml +++ b/languages.toml @@ -1829,7 +1829,7 @@ auto-format = true [[grammar]] name = "hcl" -source = { git = "https://github.com/MichaHoffmann/tree-sitter-hcl", rev = "3cb7fc28247efbcb2973b97e71c78838ad98a583" } +source = { git = "https://github.com/MichaHoffmann/tree-sitter-hcl", rev = "9e3ec9848f28d26845ba300fd73c740459b83e9b" } [[language]] name = "tfvars" From 43bbf4d81112e11c1b6f27946a1e194ff6c9b48b Mon Sep 17 00:00:00 2001 From: Lukas Knuth Date: Mon, 23 Sep 2024 15:24:46 +0200 Subject: [PATCH 2/2] Update HCL grammar repo The repository was moved from the original authors personal GitHub to the `tree-sitter-grammars` organization. Co-authored-by: Michael Davis --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index d4213d65cf32..a15d8bd797a2 100644 --- a/languages.toml +++ b/languages.toml @@ -1829,7 +1829,7 @@ auto-format = true [[grammar]] name = "hcl" -source = { git = "https://github.com/MichaHoffmann/tree-sitter-hcl", rev = "9e3ec9848f28d26845ba300fd73c740459b83e9b" } +source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-hcl", rev = "9e3ec9848f28d26845ba300fd73c740459b83e9b" } [[language]] name = "tfvars"