diff options
Diffstat (limited to 'after/ftplugin')
-rw-r--r-- | after/ftplugin/terraform.vim | 7 | ||||
-rw-r--r-- | after/ftplugin/vue.vim | 5 |
2 files changed, 7 insertions, 5 deletions
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 |