summaryrefslogtreecommitdiffstats
path: root/syntax/carp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/carp.vim')
-rw-r--r--syntax/carp.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/carp.vim b/syntax/carp.vim
index b91d41ae..c2b800b8 100644
--- a/syntax/carp.vim
+++ b/syntax/carp.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'carp') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'carp') != -1
+ finish
+endif
+
" Vim syntax file
" Language: Carp
" Maintainer: Veit Heller <veit@veitheller.de>
@@ -143,5 +145,3 @@ if version >= 508 || !exists("carp_syntax_init")
endif
let b:current_syntax = "carp"
-
-endif