summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@roblox.com>2022-02-03 08:50:48 -0800
committerFranck Cuny <fcuny@roblox.com>2022-02-03 08:50:48 -0800
commit818d69ac3266e2d5706610aab517f65806fd6340 (patch)
tree3f7fecf62d8aaaeeef59c7da07b01136a1ba6f28 /emacs/custom
parentgit: configure sourcegraph for roblox (diff)
downloademacs.d-818d69ac3266e2d5706610aab517f65806fd6340.tar.gz
config: add modes for hashistack
That includes terraform and hcl.
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/fcuny-conf.el11
1 files changed, 11 insertions, 0 deletions
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)