HTT is available for all the major platforms:
Head to the HTT releases page and pick the binary that matches your OS and architecture.
HTT uses a custom DSL (domain-specific language) for writing templates. Currently, there is syntax highlighting support for the following editors:
The neovim plugin is hosted at the htt-nvim repository. You may install it using your regular neovim plugin manager. The repository itself shows how an entry would look for users of lazy.
HTT can configure Lua Language Server, the most popular Lua LSP, such that it knows the HTT API.
Run htt --init-lsp-conf
in the root directory of your project to generate the necessary (type-stub) files and configure the LSP. If you wish to write the files elsewhere, the -o
/--out-dir
flag can be used.