This plugin adds a :Terraform
command that runs terraform, with tab
completion of subcommands. It also sets up *.tf
and *.tfstate
files
to be highlighted as HML (Hashicorp's JSON variant) and JSON respectively.
With pathogen.vim just do:
cd ~/.vim/bundle
git clone https://github.com/markcornick/vim-terraform.git
If you prefer to use something besides pathogen, go ahead.
Syntax highlighting and indentation by Kevin Le (@bkad) based on prior work by Larry Gilbert (@L2G). The rest written by Mark Cornick https://www.markcornick.com/ and contributors listed below. Licensed under the MIT license.
Thanks to:
- michael j talarczyk (@mijit)
- Koji Nakayama (@knakayama)
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.