aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/parsers.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index f4e13974b..6bd94f93b 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -8,7 +8,6 @@ local filetype_to_parsername = {
PKGBUILD = "bash",
html_tags = "html",
["typescript.tsx"] = "tsx",
- terraform = "hcl",
["html.handlebars"] = "glimmer",
systemverilog = "verilog",
cls = "latex",
@@ -618,6 +617,17 @@ list.hcl = {
filetype = "hcl",
}
+list.terraform = {
+ install_info = {
+ url = "https://github.com/MichaHoffmann/tree-sitter-hcl",
+ files = { "src/parser.c", "src/scanner.cc" },
+ branch = "main",
+ location = "dialects/terraform",
+ },
+ maintainers = { "@MichaHoffmann" },
+ filetype = "terraform",
+}
+
list.markdown = {
install_info = {
url = "https://github.com/MDeiml/tree-sitter-markdown",