From 0801eac01aab5940fc1e4409ba749383cc353bc2 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 23 Mar 2017 11:28:19 +0100 Subject: Update --- after/ftplugin/terraform.vim | 7 +++++++ after/ftplugin/vue.vim | 5 ----- 2 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 after/ftplugin/vue.vim (limited to 'after/ftplugin') diff --git a/after/ftplugin/terraform.vim b/after/ftplugin/terraform.vim index f495e583..17115b1b 100644 --- a/after/ftplugin/terraform.vim +++ b/after/ftplugin/terraform.vim @@ -18,4 +18,11 @@ if g:terraform_align && exists(':Tabularize') endfunction endif +" Match the identation put in place by Hashicorp and :TerraformFmt, https://github.com/hashivim/vim-terraform/issues/21 +if get(g:, "terraform_align", 1) + setlocal tabstop=2 + setlocal softtabstop=2 + setlocal shiftwidth=2 +endif + endif diff --git a/after/ftplugin/vue.vim b/after/ftplugin/vue.vim deleted file mode 100644 index fd786923..00000000 --- a/after/ftplugin/vue.vim +++ /dev/null @@ -1,5 +0,0 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vue') == -1 - -setlocal suffixesadd+=.vue - -endif -- cgit v1.2.3