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 25c015cb..93e206e9 100644
--- a/ftplugin/ps1.vim
+++ b/ftplugin/ps1.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('powershell', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'powershell')
finish
endif