All Projects → purcell → emacs-hcl-mode

purcell / emacs-hcl-mode

Licence: other
Emacs major mode of HCL(Hashicorp Configuration Language)

hcl-mode Build status MELPA MELPA STABLE

Major mode for Hashicorp Configuration Language.

This mode was originally written by @syohex, but became unmaintained, so this fork (@purcell) is now its official home for MELPA puposes.

Screenshot

hcl-mode

Installation

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.

Features

  • Syntax highlighting
  • Indentation

Customize Variables

hcl-indent-level(Default: 2)

Indentation size

Sample Configuration

(custom-set-variables
 '(hcl-indent-level 4))

See Also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].