tree-sitter-embedded-template VS tree-sitter-go-template

Compare tree-sitter-embedded-template vs tree-sitter-go-template and see what are their differences.

tree-sitter-embedded-template

Tree-sitter grammar for embedded template languages like ERB, EJS (by tree-sitter)

tree-sitter-go-template

Golang template grammar for tree-sitter (by ngalaiko)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
tree-sitter-embedded-template tree-sitter-go-template
2 5
51 58
- -
4.2 5.4
26 days ago 25 days ago
C C
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tree-sitter-embedded-template

Posts with mentions or reviews of tree-sitter-embedded-template. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-21.

tree-sitter-go-template

Posts with mentions or reviews of tree-sitter-go-template. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-19.
  • adding go html template highlight in lazyvim
    2 projects | /r/neovim | 19 Jun 2023
    https://github.com/ngalaiko/tree-sitter-go-template - although the author is no longer maintaining it.
    2 projects | /r/neovim | 19 Jun 2023
    I followed the instructions for https://github.com/ngalaiko/tree-sitter-go-template and replaced `yml` injection with `html` injection.
  • otter.nvim: LSP features for embedded languages (e.g. code chunks in markdown)
    5 projects | /r/neovim | 28 May 2023
    I need to work with yaml containing go templates and the current setup is to set the filetype to GOTMPL with this TS grammar and use language injection for thw yaml, basically encasing the yaml in a gotemplate.
  • K8s Treesitter Module
    2 projects | /r/neovim | 20 Mar 2023
    Helm charts use yaml + go templates. There is a parser for go templates, but its a bit tricky to setup https://github.com/ngalaiko/tree-sitter-go-template
  • Helm charts for Kubernetes in Nvim - bad experience
    2 projects | /r/neovim | 12 Feb 2022
    I use tree-sitter for syntax highlighting, and I have found this grammar (note that helm templates are basically go templates), but it's not very polished and brakes pure yaml syntax highlighting. Another problem I have is that, because helm template files end in .yaml, I get a tone of diagnostics errors from the yamlls lsp server and I have to disable it every time with lua vim.diagnostics.disable(). Lastly it would be really nice if I could get autocompletion working and maybe some linting.

What are some alternatives?

When comparing tree-sitter-embedded-template and tree-sitter-go-template you can also consider the following projects:

vim-helm - vim syntax for helm templates (yaml + gotmpl + sprig + custom)

tree-sitter-comment - Tree-sitter grammar for comment tags like TODO, FIXME(user).

tree-sitter-tlaplus - A tree-sitter grammar for TLA⁺ and PlusCal

go-tree-sitter - Golang bindings for tree-sitter https://github.com/tree-sitter/tree-sitter

SuperGreenOSBoilerplate - ESP32 Boilerplate code generator - See README ->

tree-sitter-markdown - Markdown grammar for tree-sitter

quarto-nvim - Quarto mode for Neovim

Runestone - 📝 Performant plain text editor for iOS with syntax highlighting, line numbers, invisible characters and much more.

tree-sitter-bash - Bash grammar for tree-sitter