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