From 9275a15aadc6a429af23fd82245fea5ed2799e71 Mon Sep 17 00:00:00 2001 From: mhoffm Date: Mon, 28 Jun 2021 19:11:33 +0200 Subject: add hcl parser --- lua/nvim-treesitter/parsers.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lua') diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 0d1cedee..2e4ff1c6 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -348,6 +348,16 @@ list.haskell = { } } +list.hcl = { + install_info = { + url = "https://github.com/MichaHoffmann/tree-sitter-hcl", + files = {"src/parser.c", "src/scanner.cc"}, + branch = "main" + }, + filetype = "hcl", + used_by = {"tf", "tfvars"} +} + -- FIXME(vigoux): markdown is broken for now -- list.markdown = { -- install_info = { -- cgit v1.2.3