summaryrefslogtreecommitdiffstats
path: root/syntax/xml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/xml.vim')
-rw-r--r--syntax/xml.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/xml.vim b/syntax/xml.vim
index 2e5c0926..164b91de 100644
--- a/syntax/xml.vim
+++ b/syntax/xml.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'xml') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xml') == -1
" Vim syntax file
" Language: XML
" Maintainer: Amadeus Demarzi http://github.com/amadeus
@@ -350,3 +347,4 @@ let &cpo = s:xml_cpo_save
unlet s:xml_cpo_save
" vim: ts=8
+endif