improve erc-sasl
[Emacs.git] / lisp / init-terraform.el
blob6bc7758058d7b4203b0d8a4282ee1d2c08e981d5
1 ;;; init-terraform.el --- Work with Terraform configurations -*- lexical-binding: t -*-
2 ;;; Commentary:
3 ;;; Code:
5 ;;; Terraform
7 (when (maybe-require-package 'terraform-mode)
8 ;; TODO: find/write a replacement for company-terraform
9 (with-eval-after-load 'terraform-mode
10 ;; I find formatters based on "reformatter" to be more reliable
11 ;; so I redefine `terraform-format-on-save-mode' here.
12 (when (maybe-require-package 'reformatter)
13 (reformatter-define terraform-format
14 :program "terraform" :args '("fmt" "-")))))
16 (provide 'init-terraform)
17 ;;; init-terraform.el ends here