Merge pull request #950 from theSuess/feature-terraform
Added feature terraform
This commit is contained in:
commit
9e1cba0957
2 changed files with 21 additions and 0 deletions
14
modules/tools/terraform/config.el
Normal file
14
modules/tools/terraform/config.el
Normal file
|
@ -0,0 +1,14 @@
|
|||
;;; tools/terraform/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(after! terraform-mode
|
||||
(map! :map terraform-mode-map
|
||||
:localleader
|
||||
:n "a" (λ! (compile "terraform apply"))
|
||||
:n "i" (λ! (compile "terraform init"))
|
||||
:n "p" (λ! (compile "terraform plan"))))
|
||||
|
||||
(def-package! company-terraform
|
||||
:when (featurep! :completion company)
|
||||
:after terraform-mode
|
||||
:config
|
||||
(set-company-backend! 'terraform-mode 'company-terraform))
|
7
modules/tools/terraform/packages.el
Normal file
7
modules/tools/terraform/packages.el
Normal file
|
@ -0,0 +1,7 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; tools/terraform/packages.el
|
||||
|
||||
|
||||
(package! terraform-mode)
|
||||
(when (featurep! :completion company)
|
||||
(package! company-terraform))
|
Loading…
Add table
Add a link
Reference in a new issue