From 92ab75408df8bff49bb29e113b3cc159d1ac3105 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 18 Jul 2015 23:05:45 +0200 Subject: Allow for disabling individual languages, closes #66 --- autoload/xml/aria.vim | 4 ++++ autoload/xml/html5.vim | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'autoload/xml') 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 @@ -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 @@ -823,3 +825,5 @@ let g:xmldata_html5 = { \ 'wbr': ['/>', ''], \ }, \ } + +endif -- cgit v1.2.3