summaryrefslogtreecommitdiffstats
path: root/indent/ocaml.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/ocaml.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/ocaml.vim b/indent/ocaml.vim
index 2da3e15b..9c10ac6f 100644
--- a/indent/ocaml.vim
+++ b/indent/ocaml.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 indent file
" Language: OCaml
" Maintainers: Jean-Francois Yuen <jfyuen@happycoders.org>
@@ -275,3 +272,4 @@ function! GetOCamlIndent()
endfunction
" vim:sw=2
+endif