autoload company-terraform

This commit is contained in:
Dominik Süß 2018-10-15 09:19:21 +02:00
parent 9a3e48d65a
commit 6e057d53d8
2 changed files with 8 additions and 1 deletions

View file

@ -6,3 +6,9 @@
: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))