summaryrefslogtreecommitdiffstats
path: root/indent/python.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/python.vim')
-rw-r--r--indent/python.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/indent/python.vim b/indent/python.vim
index c650165e..aa7f39a7 100644
--- a/indent/python.vim
+++ b/indent/python.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'python-indent')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'python-indent', 'indent/python.vim')
finish
endif