Skip to content

Commit

Permalink
docs: mention that the emacs mode is available on MELPA (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
danderson authored Jan 8, 2024
1 parent 4ae6303 commit 239aa8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/docs/09-commands-and-tools/02-ide-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ It will be included in official releases after version 23.05.

## Emacs

[templ-ts-mode](https://github.com/danderson/templ-ts-mode) is a major mode for templ files that provides syntax highlighting, indentation, and the other usual major mode things. It requires the [tree-sitter parser](https://github.com/vrischmann/tree-sitter-templ). If the parser is missing, the mode asks you on first use whether you want to download and build it via `treesit-install-language-grammar` (requires git and a C compiler).
[templ-ts-mode](https://github.com/danderson/templ-ts-mode) is a major mode for templ files that provides syntax highlighting, indentation, and the other usual major mode things. It is available on [MELPA](https://melpa.org/#/templ-ts-mode) and can be installed like any other Emacs package.

Templ support requires the [tree-sitter parser for Templ](https://github.com/vrischmann/tree-sitter-templ). If the parser is missing, the mode asks you on first use whether you want to download and build it via `treesit-install-language-grammar` (requires git and a C compiler).

## Troubleshooting

Expand Down

0 comments on commit 239aa8b

Please sign in to comment.