summaryrefslogtreecommitdiffstats
path: root/autoload/xml
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/xml')
-rw-r--r--autoload/xml/aria.vim2
-rw-r--r--autoload/xml/html5.vim2
-rw-r--r--autoload/xml/xsd.vim2
3 files changed, 3 insertions, 3 deletions
diff --git a/autoload/xml/aria.vim b/autoload/xml/aria.vim
index 7a106e0a..f4d0d4d6 100644
--- a/autoload/xml/aria.vim
+++ b/autoload/xml/aria.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'html5')
finish
endif
diff --git a/autoload/xml/html5.vim b/autoload/xml/html5.vim
index a88808e0..c2a78b6e 100644
--- a/autoload/xml/html5.vim
+++ b/autoload/xml/html5.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('html5', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'html5')
finish
endif
diff --git a/autoload/xml/xsd.vim b/autoload/xml/xsd.vim
index 71b0ec89..478003f9 100644
--- a/autoload/xml/xsd.vim
+++ b/autoload/xml/xsd.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('xsd', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'xsd')
finish
endif