Closed MichaHoffmann closed 3 years ago
Per https://github.com/jvirtanen/vim-hcl/pull/15, the "other" HCL plugin now sets the filetype to more specific things. In particular, it sets .tf files to terraform
.
So I think that we don't want to make this change here after all, that'll just confuse things. Instead we should tell nvim-treesitter to use the HCL parser for terraform
and nomad
filetypes.
Hey, thanks for researching! I'll close this request and add nomad
and terraform
to the parser configuration in the nvim-treesitter
MR.
Add the
hcl
filetype to make terraform files work withhcl
plugins.See for example: https://github.com/nvim-treesitter/nvim-treesitter/pull/1445