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 8c766e7f..b5ad655d 100644
--- a/autoload/puppet/format.vim
+++ b/autoload/puppet/format.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'puppet')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'autoload/puppet/format.vim')
finish
endif