enable terraform linting/fixing

This commit is contained in:
Morgan Wattiez 2019-11-09 13:34:55 +01:00
parent 65721197b4
commit 4e3233c52e
2 changed files with 6 additions and 0 deletions

View File

@ -124,3 +124,4 @@ brew "kubectx"
brew "packer"
brew "go"
brew "weechat" # need an IRC client
brew "tflint" # terraform linter

View File

@ -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