vim-terraform
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.
Installation
With pathogen.vim just do:
cd ~/.vim/bundle
git clone git://github.com/markcornick/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 written by Mark Cornick [email protected] by adapting my prior vim-vagrant plugin. Licensed under the MIT license.