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