diff --git a/modules/tools/terraform/config.el b/modules/tools/terraform/config.el index a806425a8..32fe939c1 100644 --- a/modules/tools/terraform/config.el +++ b/modules/tools/terraform/config.el @@ -4,12 +4,14 @@ (add-hook 'terraform-mode-local-vars-hook #'lsp!)) -(map! :after terraform-mode - :map terraform-mode-map - :localleader - :desc "terraform apply" "a" (cmd! (compile "terraform apply" t)) - :desc "terraform init" "i" (cmd! (compile "terraform init")) - :desc "terraform plan" "p" (cmd! (compile "terraform plan"))) +(after! terraform-mode + (set-docsets! 'terraform-mode "Terraform") + + (map! :map terraform-mode-map + :localleader + :desc "terraform apply" "a" (cmd! (compile "terraform apply" t)) + :desc "terraform init" "i" (cmd! (compile "terraform init")) + :desc "terraform plan" "p" (cmd! (compile "terraform plan")))) (use-package! company-terraform