summaryrefslogtreecommitdiffstats
path: root/autoload/puppet/format.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/puppet/format.vim')
-rw-r--r--autoload/puppet/format.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/puppet/format.vim b/autoload/puppet/format.vim
index 96b447b6..f0805363 100644
--- a/autoload/puppet/format.vim
+++ b/autoload/puppet/format.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('puppet', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'puppet')
finish
endif