NicolasPetton/pass@1a9f610015 -> NicolasPetton/pass@896696999d andras-simonyi/citeproc-el@54184baaff -> andras-simonyi/citeproc-el@d232616851 emacs-lsp/lsp-mode@c77ba14106 -> emacs-lsp/lsp-mode@3a96df0dd7 emacs-straight/dape@8dbe56d7c7 -> emacs-straight/dape@1df7834306 emacs-tree-sitter/tree-sitter-langs@becd29c756 -> emacs-tree-sitter/tree-sitter-langs@59979a1f5c hcl-emacs/terraform-mode@5bdd734a87 -> hcl-emacs/terraform-mode@80383ff42b jacktasia/dumb-jump@737267a613 -> jacktasia/dumb-jump@42f97dea50 magit/forge@9db4d386a1 -> magit/forge@a31859547a magit/magit@04ee83d93f -> magit/magit@2f1ff91f12 magit/transient@25b994a565 -> magit/transient@f3f498aa15 mohkale/consult-eglot@b71499f4b9 -> mohkale/consult-eglot@2816f8aad7 purcell/envrc@4ca2166ac7 -> purcell/envrc@cb5f6d2a42
:tools terraform
Description unfold
This module adds support for working with Terraform files within Emacs. This includes syntax highlighting, intelligent code completion, and the ability to run Terraform commands directly from Emacs.
Maintainers
This module has no dedicated maintainers. Become a maintainer?
Module flags
- +lsp
-
Enable LSP support for
terraform-mode
. Requires doom-module::tools lsp and a langserver (supports terraform-ls or terraform-lsp).
Packages
- doom-package:company-terraform if doom-package::completion company
- doom-package:terraform-mode
Hacks
No hacks documented for this module.
TODO Changelog
This module does not have a changelog yet.
Installation
Enable this module in your doom!
block.
This module requires the terraform
executable to be installed and in your
$PATH
.
Usage
Syntax highlighting
Syntax highlighting is provided from terraform-mode
and hcl-mode
.
Code formatting
doom-module::tools terraform does not provide code formatting directly, but doom-module::editor format works with Terraform files.
Code navigation
Code navigation is supported through doom-package:imenu from doom-package:terraform-mode.
Code completion
Code completion of Terraform builtins is provided from doom-package:company-terraform and generally works well despite being generated through a static (outdated) file.
doom-package:company-terraform also provides code completion of resources within your project.
Documentation
Documentation is accessible through the normal doom-package:company show documentation functionality, thanks to doom-package:company-terraform.
Executing Terraform commands
doom-module::tools terraform provides commands under <localleader> to run the most common Terraform operations:
key | description |
---|---|
<localleader> i | Runs $ terraform init |
<localleader> p | Runs $ terraform plan |
<localleader> a | Runs $ terraform apply |
TODO Configuration
This module has no configuration documentation yet. Write some?
Troubleshooting
There are no known problems with this module. Report one?
Frequently asked questions
This module has no FAQs yet. Ask one?
TODO Appendix
This module has no appendix yet. Write one?