Skip to content

Major mode of Terraform configuration file

License

Notifications You must be signed in to change notification settings

Fuco1/terraform-mode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-mode.el Tests melpa badge melpa stable badge

Major mode of Terraform configuration file

Screenshot

terraform-mode

imenu(helm-imenu)

terraform-mode

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.

About

Major mode of Terraform configuration file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 96.0%
  • Makefile 4.0%