Golang templates grammar for tree-sitter. This includes languages that use Go templates like helm.
I've stopped using helm (which I mostly written this package for) on a daily basis, so I don't really keep up with the development of tree sitter, and nvim-tree-sitter. So this project won't receive any attention from me in the near future.
If you are interested in mainaining the project, feel free to fork the repo, and if the fork is maintained I will gladly delegate you this repository or link it.
Install with your favorite package manager.
Lazy:
{
"ngalaiko/tree-sitter-go-template",
dependencies = "nvim-treesitter/nvim-treesitter",
config = true,
}
The parsers will be installed once you restart neovim.
If you only want to install a subset of the additional languages or none at all,
you can pass these via the additional_langs
option. By default all additional
languages are installed.
{
"ngalaiko/tree-sitter-go-template",
dependencies = "nvim-treesitter/nvim-treesitter",
opts = {
additional_langs = { "helm" },
},
}