From 818d69ac3266e2d5706610aab517f65806fd6340 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 3 Feb 2022 08:50:48 -0800 Subject: config: add modes for hashistack That includes terraform and hcl. --- emacs/custom/fcuny-conf.el | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'emacs/custom') diff --git a/emacs/custom/fcuny-conf.el b/emacs/custom/fcuny-conf.el index a2642cd..dadde76 100644 --- a/emacs/custom/fcuny-conf.el +++ b/emacs/custom/fcuny-conf.el @@ -33,4 +33,15 @@ :hook ((systemd-mode . flyspell-prog-mode) (systemd-mode . company-mode))) +(use-package hcl-mode + :ensure t) + +(use-package terraform-mode + :ensure t + :mode (("\\.tf\\'" . terraform-mode)) + :hook (terraform-mode . terraform-format-on-save-mode)) + +(use-package terraform-doc + :ensure t) + (provide 'fcuny-conf) -- cgit 1.4.1