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