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