This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/terraform/packages.el

19 lines
541 B
EmacsLisp
Raw Normal View History

2015-05-27 18:04:52 +00:00
;;; packages.el --- terraform Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2017 Sylvain Benner & Contributors
2015-05-27 18:04:52 +00:00
;;
;; Author: Brian Hicks <brian@brianthicks.com>
2015-05-27 18:04:52 +00:00
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
2015-07-23 23:57:45 +00:00
(setq terraform-packages '(terraform-mode))
2015-05-27 18:04:52 +00:00
(defun terraform/init-terraform-mode ()
(use-package terraform-mode
:defer t
:config (when terraform-auto-format-on-save
(add-hook 'terraform-mode-hook 'terraform-format-on-save-mode))))