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