Indentation tool for OCaml, to be used from editors like Emacs and Vim.
OCaml HTML Shell Standard ML Emacs Lisp Vim script
Clone or download
Latest commit 4830ebf May 17, 2018

ocp-indent is a simple tool and library to indent OCaml code.

ocp-indent is part of TypeRex, developed and maintained by OCamlPro. Documentation to install and use this tool is available on

It is released under LGPL v2.1 with linking exception.