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