Skip to content

Commit

Permalink
Add company-terraform for terraform mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirex committed Dec 13, 2017
1 parent 60dc749 commit 566e972
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
(require 'init-toml)
(require 'init-yaml)
(require 'init-docker)
(maybe-require-package 'terraform-mode)
(require 'init-terraform)

(require 'init-paredit)
(require 'init-lisp)
Expand Down
9 changes: 9 additions & 0 deletions lisp/init-terraform.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
;;; Terraform

(when (maybe-require-package 'terraform-mode)
(when (maybe-require-package 'company-terraform)
(after-load 'terraform-mode
(company-terraform-init))))

(provide 'init-terraform)
;;; init-terraform.el ends here

0 comments on commit 566e972

Please sign in to comment.