summaryrefslogtreecommitdiffstats
path: root/syntax/xsl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/xsl.vim')
-rw-r--r--syntax/xsl.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/xsl.vim b/syntax/xsl.vim
index e40b6811..802abe20 100644
--- a/syntax/xsl.vim
+++ b/syntax/xsl.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'xls') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xls') == -1
" Vim syntax file
" Language: XSLT 1.0
" with HTML, CSS, JavaScript, PerlScript, VBScript and MSXSL extention
@@ -539,3 +536,4 @@ let b:current_syntax = "xsl"
"unlet s:xml_cpo_save
" vim: ts=4:sw=4
+endif