From 3767aeedcd28bde49bee1c86458eb2b3fcee9181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 14 Nov 2019 09:19:10 +0100 Subject: [PATCH] vim: Autofmt terraform --- vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/vimrc b/vim/vimrc index 1029925..6a71715 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -302,6 +302,7 @@ let g:ycm_add_preview_to_completeopt = 0 let g:instant_markdown_autostart = 0 let g:terraform_align = 1 +let g:terraform_fmt_on_save=1 if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif