summaryrefslogtreecommitdiffstats
path: root/syntax/sexplib.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/sexplib.vim')
-rw-r--r--syntax/sexplib.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/sexplib.vim b/syntax/sexplib.vim
index 2462d7cd..9700eab8 100644
--- a/syntax/sexplib.vim
+++ b/syntax/sexplib.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ocaml') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1
" Vim syntax file
" Language: S-expressions as used in Sexplib
" Filenames: *.sexp
@@ -90,3 +87,4 @@ endif
let b:current_syntax = "sexplib"
" vim: ts=8
+endif