summaryrefslogtreecommitdiffstats
path: root/syntax/tap.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/tap.vim')
-rw-r--r--syntax/tap.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/tap.vim b/syntax/tap.vim
index ab42a324..136ed143 100644
--- a/syntax/tap.vim
+++ b/syntax/tap.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'perl') != -1
+ finish
+endif
+
" Vim syntax file
" Language: Verbose TAP Output
" Maintainer: Rufus Cable <rufus@threebytesfull.com>
@@ -97,5 +99,3 @@ if !exists("did_tapverboseoutput_syntax_inits")
endif
let b:current_syntax="tapVerboseOutput"
-
-endif