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