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