aboutsummaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2016-08-31 13:04:08 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2016-08-31 13:04:08 +0200
commitae08653cfcacf4efd12769d05bb56b48e7b6e5d0 (patch)
tree889bf10d2106cad5aadae444c00b1998a9c681ab /emacs/init.el
parent66876d142b908b37f32063c74dbe43f1aa116978 (diff)
downloaddotfiles-ae08653cfcacf4efd12769d05bb56b48e7b6e5d0.tar.gz
dotfiles-ae08653cfcacf4efd12769d05bb56b48e7b6e5d0.zip
emacs: added terraform and hcl modes
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 9949e47..22856a8 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -587,4 +587,13 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode)))
+(use-package terraform-mode
+ :ensure t
+ :config
+
+ (terraform-format-on-save-mode))
+
+(use-package hcl-mode
+ :ensure t)
+
;;; init.el ends here