Skip to content

Emacs major mode of HCL(Hashicorp Configuration Language)

License

Notifications You must be signed in to change notification settings

hcl-emacs/hcl-mode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hcl-mode Build status MELPA MELPA STABLE

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.

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

About

Emacs major mode of HCL(Hashicorp Configuration Language)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 92.2%
  • Makefile 7.8%