summaryrefslogtreecommitdiffstats
path: root/autoload/xml
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/xml')
-rw-r--r--autoload/xml/aria.vim4
-rw-r--r--autoload/xml/html5.vim4
2 files changed, 8 insertions, 0 deletions
diff --git a/autoload/xml/aria.vim b/autoload/xml/aria.vim
index 6ff0e3f2..4f9b1d7a 100644
--- a/autoload/xml/aria.vim
+++ b/autoload/xml/aria.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
" Vim completion for WAI-ARIA data file
" Language: HTML + WAI-ARIA
" Maintainer: othree <othree@gmail.com>
@@ -230,3 +232,5 @@ let g:xmldata_aria = {
\ 'default_role': default_role,
\ 'vimariaattrinfo': aria_attributes_value
\ }
+
+endif
diff --git a/autoload/xml/html5.vim b/autoload/xml/html5.vim
index 0d9a6a2c..2fad3521 100644
--- a/autoload/xml/html5.vim
+++ b/autoload/xml/html5.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
" Vim completion for HTML5 data file
" Language: HTML5
" Maintainer: othree <othree@gmail.com>
@@ -823,3 +825,5 @@ let g:xmldata_html5 = {
\ 'wbr': ['/>', ''],
\ },
\ }
+
+endif