1
0
Fork 0
Emacs major mode for editing Helm Chart templates.
Find a file
2023-01-23 16:14:24 +01:00
helm-template-mode.el FEAT: Version bump and add explicit dependency on yaml-mode 2023-01-23 16:12:45 +01:00
LICENSE FEAT: Initial commit 2022-07-23 18:50:30 +02:00
README.md CHORE: Update docs with better mode loading example 2023-01-23 16:14:24 +01:00

Helm Chart template mode for Emacs

This major-mode extends yaml-mode to better highlight the go template syntax used in Helm Charts.

Usage

Here's an example on how to use this package with straight.el

(use-package helm-template-mode
  :straight (helm-template-mode :type git :host nil
                                :repo "https://git.chaoslama.org/claudi/helm-template-mode")
  :mode (("/templates/.+\\.yaml\\'" . helm-template-mode)
         ("/templates/.+\\.tpl\\'" . helm-template-mode)))

Open problems

  • keyword are highlighted outside of go templates
  • multiline comments are not working