diff --git a/roles/dotfiles/files/vimrc b/roles/dotfiles/files/vimrc index a8357b6..8b307f8 100644 --- a/roles/dotfiles/files/vimrc +++ b/roles/dotfiles/files/vimrc @@ -49,6 +49,7 @@ Plug 'luochen1990/rainbow' Plug 'psf/black', {'branch': 'main'} Plug 'fisadev/vim-isort' Plug 'jvirtanen/vim-hcl' " HCL files used by terraform +Plug 'hashivim/vim-terraform' " show git diff in sign column Plug 'airblade/vim-gitgutter' " Themes @@ -107,3 +108,10 @@ let g:rainbow_active = 1 " vim-go let g:go_def_mapping_enabled = 0 + +" terraform +let g:terraform_fmt_on_save = 1 +let g:terraform_align = 1 + +"underline spell errors in terminals +hi SpellBad ctermfg=218 cterm=underline