summaryrefslogtreecommitdiffstats
path: root/indent/ocaml.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/ocaml.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/ocaml.vim b/indent/ocaml.vim
index dac76ab8..73ab127a 100644
--- a/indent/ocaml.vim
+++ b/indent/ocaml.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ocaml') != -1
+ finish
+endif
+
" Vim indent file
" Language: OCaml
" Maintainers: Jean-Francois Yuen <jfyuen@happycoders.org>
@@ -267,5 +269,3 @@ function! GetOCamlIndent()
endfunction
" vim:sw=2
-
-endif