Major mode for Hashicorp Configuration Language.
This mode was originally written by @syohex, but became unmaintained, so @purcell took it over for a while, and now github.com/hcl-emacs/hcl-mode is its official home for MELPA puposes.
hcl-mode
is available on MELPA and MELPA stable
You can install hcl-mode
with the following command.
M-x package-install [RET] hcl-mode [RET]
If you prefer a manual installation, copy hcl-mode.el
to a directory in
your load-path
, and be sure to (require 'hcl-mode)
before use.
- Syntax highlighting
- Indentation
Indentation size
(custom-set-variables
'(hcl-indent-level 4))
- terraform-mode: A major mode of terraform configuration file