diff options
| author | mhoffm <mhoffm@posteo.de> | 2021-06-28 19:11:33 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-02 01:56:25 +0200 |
| commit | 9275a15aadc6a429af23fd82245fea5ed2799e71 (patch) | |
| tree | 8a372bb91904cf5e28f7bb3617f2fd1f5502860e /lua/nvim-treesitter | |
| parent | 6d5b4f19f37ec88d0fd3632a20c80d6d9bded112 (diff) | |
add hcl parser
Diffstat (limited to 'lua/nvim-treesitter')
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 10 |
1 files changed, 10 insertions, 0 deletions
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 = { |
