summaryrefslogtreecommitdiffstats
path: root/syntax/tt2.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/tt2.vim')
-rw-r--r--syntax/tt2.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/tt2.vim b/syntax/tt2.vim
index ccea0905..31bc61f5 100644
--- a/syntax/tt2.vim
+++ b/syntax/tt2.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'perl') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1
" Language: TT2 (Perl Template Toolkit)
" Maintainer: vim-perl <vim-perl@googlegroups.com>
" Author: Moriki, Atsushi <4woods+vim@gmail.com>
@@ -212,3 +209,4 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:ts=4:sw=4
+endif