vimrc: terraform setup
All checks were successful
dotfiles/pipeline/head This commit looks good

This commit is contained in:
Johannes Rothe 2022-09-14 19:16:27 +02:00 committed by Johannes Rothe
parent f82735c66c
commit d5b4847812

View File

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