summaryrefslogtreecommitdiffstats
path: root/indent/puppet.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/puppet.vim')
-rw-r--r--indent/puppet.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/puppet.vim b/indent/puppet.vim
index 977e8606..a3a494a0 100644
--- a/indent/puppet.vim
+++ b/indent/puppet.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'puppet') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
" Vim indent file
" Language: Puppet
" Maintainer: Todd Zullinger <tmz@pobox.com>
@@ -138,3 +135,4 @@ function! GetPuppetIndent(...)
return ind
endfunction
+endif