vim-terraform

basic vim/terraform integration

View the Project on GitHub hashivim/vim-terraform

This plugin adds a :Terraform command that runs terraform, with tab completion of subcommands. It also sets up *.tf, *.tfvars, and *.tfstate files to be highlighted as HCL, HCL, and JSON respectively.

Installation

With pathogen.vim just do:

cd ~/.vim/bundle
git clone https://github.com/hashivim/vim-terraform.git

If you prefer to use something besides pathogen, go ahead.

Credits

Syntax highlighting and indentation by Kevin Le (@bkad) based on prior work by Larry Gilbert (@L2G). The rest originally written by Mark Cornick https://www.markcornick.com/ and contributors listed below. Licensed under the ISC license.

Thanks to the following contributors:

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.