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