summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim/ftplugin/terraform.vim1
-rw-r--r--vimrc3
2 files changed, 3 insertions, 1 deletions
diff --git a/vim/ftplugin/terraform.vim b/vim/ftplugin/terraform.vim
index 4e7db16..463eea9 100644
--- a/vim/ftplugin/terraform.vim
+++ b/vim/ftplugin/terraform.vim
@@ -1,2 +1 @@
setlocal commentstring=#\ %s
-let b:terraform_fmt_on_save = 1
diff --git a/vimrc b/vimrc
index 1c20169..f2bc3ca 100644
--- a/vimrc
+++ b/vimrc
@@ -168,6 +168,9 @@ let g:startify_custom_header = []
let s:fortune = system('fortune -n200 -s ~/.fortune | grep -v -E "^$"')
let g:startify_custom_footer = [''] + map(split(s:fortune, '\n'), '" ".v:val')
" }}}
+" terraform {{{
+let g:terraform_fmt_on_save = 1
+" }}}
" textobj {{{
let g:textobj_defs = {
\ '/': ['paired'],