95
GitHub - syohex/emacs-terraform-mode: Major mode of Terraform configuration file
source link: https://github.com/syohex/emacs-terraform-mode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
terraform-mode.el
Major mode of Terraform configuration file
Screenshot
imenu(helm-imenu
)
Installation
You can install terraform-mode.el
from MELPA by package.el
.
Features
- Syntax highlighting
- Indentation
- imenu
Customize Variables
terraform-indent-level
(Default: 2
)
Indentation size. You need to call revert-buffer
if you change this value outer of hook such as eval-expression
.
Sample Configuration
(custom-set-variables
'(terraform-indent-level 4))
See Also
This major-mode inherits from hcl-mode. Most of syntax features, like highlighting, indentation are implemented in hcl-mode.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK