This is vim snippets for Terraform inspired by serverspec-snippets.
- Setup the neobundle package manager
- Set the bundles for itamae-snippets
NeoBundle 'tacahilo/itamae-snippets'
- Open up Vim and start installation with
:NeoBundleInstall
- Setup the vundle package manager
- Set the bundles for itamae-snippets
Bundle 'tacahilo/itamae-snippets'
- Open up Vim and start installation with
:BundleInstall
Set itamae-snippets directory(~/.vim/bundle/terraform-snippets.vim
) in your .vimrc.
" setting example
let g:neosnippet#snippets_directory = [
\'~/.vim/snippets',
\'~/.vim/bundle/terraform-snippets.vim',
\]
open *.tf files and set filetype terraform
:set ft=terraform
or terraform plugins:
Lcense: Same terms as Vim itself (see license)