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