summaryrefslogtreecommitdiffstats
path: root/autoload/terraform.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--autoload/terraform.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/autoload/terraform.vim b/autoload/terraform.vim
index 8554022e..7ddfd9d1 100644
--- a/autoload/terraform.vim
+++ b/autoload/terraform.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'terraform') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'terraform') == -1
function! terraform#fmt()
if !filereadable(expand('%:p'))
return
@@ -58,3 +55,4 @@ function! terraform#commands(A, L, P)
\ 'state'
\ ]
endfunction
+endif