diff --git a/Brewfile b/Brewfile index 4d8273b..86cc3d9 100644 --- a/Brewfile +++ b/Brewfile @@ -124,3 +124,4 @@ brew "kubectx" brew "packer" brew "go" brew "weechat" # need an IRC client +brew "tflint" # terraform linter diff --git a/dot_vimrc b/dot_vimrc index 71c8ee5..5219da3 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -35,6 +35,8 @@ Plugin 'gmarik/vundle' Plugin 'scrooloose/syntastic' " A vim plugin to access cheat.sh sheets Plugin 'dbeniamine/cheat.sh-vim' +" basic vim/terraform integration +Plugin 'hashivim/vim-terraform' " All of your Plugins must be added before the following line call vundle#end() @@ -56,6 +58,9 @@ let g:indent_guides_enable_on_vim_startup = 1 let g:indent_guides_start_level = 2 let g:indent_guides_guide_size = 1 +" vim-terraform options +let g:terraform_fmt_on_save=1 + " dense-analysis/ale options let g:ale_history_log_output = 1 let g:ale_use_global_executables = 1